Warning: Permanently added '2620:52:3:1:dead:beef:cafe:c1d7' (ED25519) to the list of known hosts. You can reproduce this build on your computer by running: sudo dnf install copr-rpmbuild /usr/bin/copr-rpmbuild --verbose --drop-resultdir --task-url https://copr.fedorainfracloud.org/backend/get-build-task/6446661-fedora-38-i386 --chroot fedora-38-i386 Version: 0.69 PID: 5557 Logging PID: 5558 Task: {'appstream': False, 'background': False, 'bootstrap': 'off', 'build_id': 6446661, 'buildroot_pkgs': [], 'chroot': 'fedora-38-i386', 'enable_net': False, 'fedora_review': False, 'git_hash': '74b806dd3fe6ef8ef4b9677f45ed49026cce73c6', 'git_repo': 'https://copr-dist-git.fedorainfracloud.org/git/sailer/misc/mongodb', 'isolation': 'default', 'memory_reqs': 2048, 'package_name': 'mongodb', 'package_version': '4.0.3-4.fc38', 'project_dirname': 'misc', 'project_name': 'misc', 'project_owner': 'sailer', 'repo_priority': None, 'repos': [{'baseurl': 'https://download.copr.fedorainfracloud.org/results/sailer/misc/fedora-38-i386/', 'id': 'copr_base', 'name': 'Copr repository', 'priority': None}], 'sandbox': 'sailer/misc--sailer', 'source_json': {}, 'source_type': None, 'submitter': 'sailer', 'tags': [], 'task_id': '6446661-fedora-38-i386', 'timeout': 18000, 'uses_devel_repo': False, 'with_opts': [], 'without_opts': []} Running: git clone https://copr-dist-git.fedorainfracloud.org/git/sailer/misc/mongodb /var/lib/copr-rpmbuild/workspace/workdir-njxi2bgg/mongodb --depth 500 --no-single-branch --recursive cmd: ['git', 'clone', 'https://copr-dist-git.fedorainfracloud.org/git/sailer/misc/mongodb', '/var/lib/copr-rpmbuild/workspace/workdir-njxi2bgg/mongodb', '--depth', '500', '--no-single-branch', '--recursive'] cwd: . rc: 0 stdout: stderr: Cloning into '/var/lib/copr-rpmbuild/workspace/workdir-njxi2bgg/mongodb'... Running: git checkout 74b806dd3fe6ef8ef4b9677f45ed49026cce73c6 -- cmd: ['git', 'checkout', '74b806dd3fe6ef8ef4b9677f45ed49026cce73c6', '--'] cwd: /var/lib/copr-rpmbuild/workspace/workdir-njxi2bgg/mongodb rc: 0 stdout: stderr: Note: switching to '74b806dd3fe6ef8ef4b9677f45ed49026cce73c6'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by switching back to a branch. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -c with the switch command. Example: git switch -c Or undo this operation with: git switch - Turn off this advice by setting config variable advice.detachedHead to false HEAD is now at 74b806d automatic import of mongodb Running: copr-distgit-client sources /usr/bin/tail: /var/lib/copr-rpmbuild/main.log: file truncated cmd: ['copr-distgit-client', 'sources'] cwd: /var/lib/copr-rpmbuild/workspace/workdir-njxi2bgg/mongodb rc: 0 stdout: stderr: INFO: Reading stdout from command: git rev-parse --abbrev-ref HEAD INFO: Reading stdout from command: git rev-parse HEAD INFO: Reading sources specification file: sources INFO: Downloading r4.0.3.tar.gz INFO: Reading stdout from command: curl --help all INFO: Calling: curl -H Pragma: -o r4.0.3.tar.gz --location --connect-timeout 60 --retry 3 --retry-delay 10 --remote-time --show-error --fail --retry-all-errors https://copr-dist-git.fedorainfracloud.org/repo/pkgs/sailer/misc/mongodb/r4.0.3.tar.gz/md5/641bbc8b558b370f2204fafd69524c12/r4.0.3.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 47.8M 100 47.8M 0 0 29.3M 0 0:00:01 0:00:01 --:--:-- 29.3M INFO: Reading stdout from command: md5sum r4.0.3.tar.gz Running (timeout=18000): unbuffer mock --spec /var/lib/copr-rpmbuild/workspace/workdir-njxi2bgg/mongodb/mongodb.spec --sources /var/lib/copr-rpmbuild/workspace/workdir-njxi2bgg/mongodb --resultdir /var/lib/copr-rpmbuild/results --uniqueext 1695774146.879950 -r /var/lib/copr-rpmbuild/results/configs/child.cfg INFO: mock.py version 5.1.1 starting (python version = 3.11.3, NVR = mock-5.1.1-1.fc38)... Start: init plugins INFO: tmpfs initialized INFO: selinux enabled INFO: chroot_scan: initialized INFO: compress_logs: initialized Finish: init plugins INFO: Signal handler active Start: run INFO: Start(/var/lib/copr-rpmbuild/workspace/workdir-njxi2bgg/mongodb/mongodb.spec) Config(fedora-38-i686) Start: clean chroot Finish: clean chroot Mock Version: 5.1.1 INFO: Mock Version: 5.1.1 Start: chroot init INFO: mounting tmpfs at /var/lib/mock/fedora-38-i686-1695774146.879950/root. INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start: cleaning package manager metadata Finish: cleaning package manager metadata INFO: enabled HW Info plugin INFO: Package manager dnf detected and used (fallback) Start: installing minimal buildroot with dnf No matches found for the following disable plugin patterns: local, spacewalk, versionlock Updating Subscription Management repositories. Unable to read consumer identity This system is not registered with an entitlement server. You can use subscription-manager to register. Copr repository 1.0 MB/s | 158 kB 00:00 local 18 MB/s | 61 MB 00:03 Dependencies resolved. ================================================================================ Package Arch Version Repo Size ================================================================================ Installing group/module packages: bash i686 5.2.15-3.fc38 local 1.8 M bzip2 i686 1.0.8-13.fc38 local 53 k coreutils i686 9.1-12.fc38 local 1.1 M cpio i686 2.13-14.fc38 local 275 k diffutils i686 3.10-1.fc38 local 393 k fedora-release noarch 38-36 local 12 k findutils i686 1:4.9.0-3.fc38 local 493 k gawk i686 5.1.1-5.fc38 local 1.0 M glibc-minimal-langpack i686 2.37-5.fc38 local 38 k grep i686 3.8-3.fc38 local 289 k gzip i686 1.12-3.fc38 local 157 k info i686 7.0.2-2.fc38 local 183 k patch i686 2.7.6-19.fc38 local 138 k redhat-rpm-config noarch 252-1.fc38 local 76 k rpm-build i686 4.18.1-3.fc38 local 69 k sed i686 4.8-12.fc38 local 300 k shadow-utils i686 2:4.13-6.fc38 local 1.2 M tar i686 2:1.34-8.fc38 local 894 k unzip i686 6.0-60.fc38 local 179 k util-linux i686 2.38.1-4.fc38 local 2.3 M which i686 2.21-39.fc38 local 42 k xz i686 5.4.1-1.fc38 local 409 k Installing dependencies: alternatives i686 1.25-1.fc38 local 39 k ansible-srpm-macros noarch 1-10.fc38 local 21 k audit-libs i686 3.1.2-1.fc38 local 125 k authselect i686 1.4.2-2.fc38 local 141 k authselect-libs i686 1.4.2-2.fc38 local 239 k basesystem noarch 11-15.fc38 local 7.0 k binutils i686 2.39-9.fc38 local 5.6 M binutils-gold i686 2.39-9.fc38 local 851 k bzip2-libs i686 1.0.8-13.fc38 local 42 k ca-certificates noarch 2023.2.60-2.fc38 local 845 k coreutils-common i686 9.1-12.fc38 local 2.0 M cracklib i686 2.9.11-1.fc38 local 82 k crypto-policies noarch 20230301-1.gita12f7b2.fc38 local 65 k curl i686 8.0.1-4.fc38 local 350 k cyrus-sasl-lib i686 2.1.28-9.fc38 local 858 k debugedit i686 5.0-9.fc38 local 78 k dwz i686 0.15-2.fc38 local 139 k ed i686 1.19-2.fc38 local 78 k efi-srpm-macros noarch 5-7.fc38 local 22 k elfutils i686 0.189-3.fc38 local 549 k elfutils-debuginfod-client i686 0.189-3.fc38 local 39 k elfutils-default-yama-scope noarch 0.189-3.fc38 local 13 k elfutils-libelf i686 0.189-3.fc38 local 201 k elfutils-libs i686 0.189-3.fc38 local 288 k fedora-gpg-keys noarch 38-1 local 116 k fedora-release-common noarch 38-36 local 22 k fedora-release-identity-basic noarch 38-36 local 13 k fedora-repos noarch 38-1 local 9.1 k file i686 5.44-3.fc38 local 50 k file-libs i686 5.44-3.fc38 local 737 k filesystem i686 3.18-3.fc38 local 1.1 M fonts-srpm-macros noarch 1:2.0.5-11.fc38 local 26 k fpc-srpm-macros noarch 1.3-7.fc38 local 7.8 k gdb-minimal i686 13.2-4.fc38 local 4.5 M gdbm-libs i686 1:1.23-3.fc38 local 60 k ghc-srpm-macros noarch 1.6.1-1.fc38 local 8.0 k glibc i686 2.37-5.fc38 local 1.9 M glibc-common i686 2.37-5.fc38 local 321 k glibc-gconv-extra i686 2.37-5.fc38 local 1.6 M gmp i686 1:6.2.1-4.fc38 local 305 k gnat-srpm-macros noarch 6-2.fc38 local 8.8 k go-srpm-macros noarch 3.2.0-2.fc38 local 27 k jansson i686 2.13.1-6.fc38 local 46 k kernel-srpm-macros noarch 1.0-19.fc38 local 10 k keyutils-libs i686 1.6.1-6.fc38 local 32 k krb5-libs i686 1.21-3.fc38 local 803 k libacl i686 2.3.1-6.fc38 local 24 k libarchive i686 3.6.1-4.fc38 local 442 k libattr i686 2.5.1-6.fc38 local 18 k libblkid i686 2.38.1-4.fc38 local 116 k libbrotli i686 1.0.9-11.fc38 local 318 k libcap i686 2.48-6.fc38 local 69 k libcap-ng i686 0.8.3-8.fc38 local 33 k libcom_err i686 1.46.5-4.fc38 local 26 k libcurl i686 8.0.1-4.fc38 local 335 k libdb i686 5.3.28-55.fc38 local 822 k libeconf i686 0.5.2-1.fc38 local 32 k libevent i686 2.1.12-8.fc38 local 277 k libfdisk i686 2.38.1-4.fc38 local 174 k libffi i686 3.4.4-2.fc38 local 36 k libgcc i686 13.2.1-1.fc38 local 118 k libgomp i686 13.2.1-1.fc38 local 322 k libidn2 i686 2.3.4-2.fc38 local 154 k libmount i686 2.38.1-4.fc38 local 141 k libnghttp2 i686 1.52.0-1.fc38 local 80 k libnsl2 i686 2.0.0-5.fc38 local 31 k libpkgconf i686 1.8.0-6.fc38 local 38 k libpsl i686 0.21.2-2.fc38 local 66 k libpwquality i686 1.4.5-3.fc38 local 108 k libselinux i686 3.5-1.fc38 local 92 k libsemanage i686 3.5-2.fc38 local 129 k libsepol i686 3.5-1.fc38 local 337 k libsigsegv i686 2.14-4.fc38 local 27 k libsmartcols i686 2.38.1-4.fc38 local 66 k libssh i686 0.10.5-1.fc38 local 226 k libssh-config noarch 0.10.5-1.fc38 local 9.0 k libstdc++ i686 13.2.1-1.fc38 local 929 k libtasn1 i686 4.19.0-2.fc38 local 75 k libtirpc i686 1.3.3-1.rc2.fc38 local 101 k libunistring1.0 i686 1.0-1.fc38 local 547 k libutempter i686 1.2.1-8.fc38 local 26 k libuuid i686 2.38.1-4.fc38 local 28 k libverto i686 0.3.2-5.fc38 local 21 k libxcrypt i686 4.4.36-1.fc38 local 123 k libxml2 i686 2.10.4-1.fc38 local 744 k libzstd i686 1.5.5-1.fc38 local 290 k lua-libs i686 5.4.4-9.fc38 local 149 k lua-srpm-macros noarch 1-8.fc38 local 8.6 k lz4-libs i686 1.9.4-2.fc38 local 70 k mpfr i686 4.1.1-3.fc38 local 636 k ncurses-base noarch 6.4-3.20230114.fc38 local 62 k ncurses-libs i686 6.4-3.20230114.fc38 local 351 k ocaml-srpm-macros noarch 7-3.fc38 local 13 k openblas-srpm-macros noarch 2-13.fc38 local 7.5 k openldap i686 2.6.4-1.fc38 local 273 k openssl-libs i686 1:3.0.9-2.fc38 local 2.1 M p11-kit i686 0.25.0-1.fc38 local 469 k p11-kit-trust i686 0.25.0-1.fc38 local 139 k package-notes-srpm-macros noarch 0.5-8.fc38 local 11 k pam i686 1.5.2-16.fc38 local 536 k pam-libs i686 1.5.2-16.fc38 local 60 k pcre2 i686 10.42-1.fc38.1 local 232 k pcre2-syntax noarch 10.42-1.fc38.1 local 144 k perl-srpm-macros noarch 1-48.fc38 local 8.4 k pkgconf i686 1.8.0-6.fc38 local 41 k pkgconf-m4 noarch 1.8.0-6.fc38 local 14 k pkgconf-pkg-config i686 1.8.0-6.fc38 local 9.6 k popt i686 1.19-2.fc38 local 62 k publicsuffix-list-dafsa noarch 20230812-1.fc38 local 57 k pyproject-srpm-macros noarch 1.9.0-1.fc38 local 15 k python-srpm-macros noarch 3.11-10.fc38 local 26 k qt5-srpm-macros noarch 5.15.10-1.fc38 local 8.2 k readline i686 8.2-3.fc38 local 218 k rpm i686 4.18.1-3.fc38 local 541 k rpm-build-libs i686 4.18.1-3.fc38 local 101 k rpm-libs i686 4.18.1-3.fc38 local 343 k rpm-sequoia i686 1.5.0-1.fc38 local 956 k rpmautospec-rpm-macros noarch 0.3.5-1.fc38 local 9.3 k rust-srpm-macros noarch 24-5.fc38 local 12 k setup noarch 2.14.3-2.fc38 local 146 k sqlite-libs i686 3.40.1-2.fc38 local 704 k systemd-libs i686 253.10-1.fc38 local 686 k tzdata noarch 2023c-1.fc38 local 433 k util-linux-core i686 2.38.1-4.fc38 local 470 k xxhash-libs i686 0.8.2-1.fc38 local 49 k xz-libs i686 5.4.1-1.fc38 local 117 k zip i686 3.0-37.fc38 local 266 k zlib i686 1.2.13-3.fc38 local 93 k zstd i686 1.5.5-1.fc38 local 450 k Installing Groups: build Transaction Summary ================================================================================ Install 151 Packages Total download size: 54 M Installed size: 183 M Downloading Packages: (1/151): alternatives-1.25-1.fc38.i686.rpm 638 kB/s | 39 kB 00:00 (2/151): ansible-srpm-macros-1-10.fc38.noarch.r 288 kB/s | 21 kB 00:00 (3/151): authselect-1.4.2-2.fc38.i686.rpm 5.9 MB/s | 141 kB 00:00 (4/151): audit-libs-3.1.2-1.fc38.i686.rpm 1.4 MB/s | 125 kB 00:00 (5/151): basesystem-11-15.fc38.noarch.rpm 774 kB/s | 7.0 kB 00:00 (6/151): authselect-libs-1.4.2-2.fc38.i686.rpm 5.7 MB/s | 239 kB 00:00 (7/151): bash-5.2.15-3.fc38.i686.rpm 28 MB/s | 1.8 MB 00:00 (8/151): binutils-gold-2.39-9.fc38.i686.rpm 17 MB/s | 851 kB 00:00 (9/151): bzip2-1.0.8-13.fc38.i686.rpm 3.6 MB/s | 53 kB 00:00 (10/151): bzip2-libs-1.0.8-13.fc38.i686.rpm 2.9 MB/s | 42 kB 00:00 (11/151): ca-certificates-2023.2.60-2.fc38.noar 24 MB/s | 845 kB 00:00 (12/151): binutils-2.39-9.fc38.i686.rpm 50 MB/s | 5.6 MB 00:00 (13/151): coreutils-9.1-12.fc38.i686.rpm 33 MB/s | 1.1 MB 00:00 (14/151): cracklib-2.9.11-1.fc38.i686.rpm 5.0 MB/s | 82 kB 00:00 (15/151): cpio-2.13-14.fc38.i686.rpm 12 MB/s | 275 kB 00:00 (16/151): crypto-policies-20230301-1.gita12f7b2 4.3 MB/s | 65 kB 00:00 (17/151): curl-8.0.1-4.fc38.i686.rpm 20 MB/s | 350 kB 00:00 (18/151): coreutils-common-9.1-12.fc38.i686.rpm 39 MB/s | 2.0 MB 00:00 (19/151): debugedit-5.0-9.fc38.i686.rpm 4.7 MB/s | 78 kB 00:00 (20/151): diffutils-3.10-1.fc38.i686.rpm 21 MB/s | 393 kB 00:00 (21/151): cyrus-sasl-lib-2.1.28-9.fc38.i686.rpm 27 MB/s | 858 kB 00:00 (22/151): dwz-0.15-2.fc38.i686.rpm 9.8 MB/s | 139 kB 00:00 (23/151): efi-srpm-macros-5-7.fc38.noarch.rpm 1.4 MB/s | 22 kB 00:00 (24/151): ed-1.19-2.fc38.i686.rpm 3.6 MB/s | 78 kB 00:00 (25/151): elfutils-0.189-3.fc38.i686.rpm 24 MB/s | 549 kB 00:00 (26/151): elfutils-debuginfod-client-0.189-3.fc 2.9 MB/s | 39 kB 00:00 (27/151): elfutils-default-yama-scope-0.189-3.f 1.3 MB/s | 13 kB 00:00 (28/151): fedora-gpg-keys-38-1.noarch.rpm 11 MB/s | 116 kB 00:00 (29/151): elfutils-libelf-0.189-3.fc38.i686.rpm 15 MB/s | 201 kB 00:00 (30/151): elfutils-libs-0.189-3.fc38.i686.rpm 16 MB/s | 288 kB 00:00 (31/151): fedora-release-38-36.noarch.rpm 1.3 MB/s | 12 kB 00:00 (32/151): fedora-release-common-38-36.noarch.rp 2.4 MB/s | 22 kB 00:00 (33/151): fedora-release-identity-basic-38-36.n 1.2 MB/s | 13 kB 00:00 (34/151): fedora-repos-38-1.noarch.rpm 1.0 MB/s | 9.1 kB 00:00 (35/151): file-5.44-3.fc38.i686.rpm 3.4 MB/s | 50 kB 00:00 (36/151): file-libs-5.44-3.fc38.i686.rpm 34 MB/s | 737 kB 00:00 (37/151): filesystem-3.18-3.fc38.i686.rpm 29 MB/s | 1.1 MB 00:00 (38/151): fonts-srpm-macros-2.0.5-11.fc38.noarc 1.5 MB/s | 26 kB 00:00 (39/151): fpc-srpm-macros-1.3-7.fc38.noarch.rpm 658 kB/s | 7.8 kB 00:00 (40/151): findutils-4.9.0-3.fc38.i686.rpm 9.6 MB/s | 493 kB 00:00 (41/151): gawk-5.1.1-5.fc38.i686.rpm 34 MB/s | 1.0 MB 00:00 (42/151): gdbm-libs-1.23-3.fc38.i686.rpm 4.0 MB/s | 60 kB 00:00 (43/151): ghc-srpm-macros-1.6.1-1.fc38.noarch.r 545 kB/s | 8.0 kB 00:00 (44/151): glibc-common-2.37-5.fc38.i686.rpm 15 MB/s | 321 kB 00:00 (45/151): glibc-2.37-5.fc38.i686.rpm 28 MB/s | 1.9 MB 00:00 (46/151): glibc-gconv-extra-2.37-5.fc38.i686.rp 31 MB/s | 1.6 MB 00:00 (47/151): glibc-minimal-langpack-2.37-5.fc38.i6 2.3 MB/s | 38 kB 00:00 (48/151): gdb-minimal-13.2-4.fc38.i686.rpm 40 MB/s | 4.5 MB 00:00 (49/151): gnat-srpm-macros-6-2.fc38.noarch.rpm 633 kB/s | 8.8 kB 00:00 (50/151): go-srpm-macros-3.2.0-2.fc38.noarch.rp 1.9 MB/s | 27 kB 00:00 (51/151): gmp-6.2.1-4.fc38.i686.rpm 15 MB/s | 305 kB 00:00 (52/151): grep-3.8-3.fc38.i686.rpm 15 MB/s | 289 kB 00:00 (53/151): gzip-1.12-3.fc38.i686.rpm 5.9 MB/s | 157 kB 00:00 (54/151): info-7.0.2-2.fc38.i686.rpm 7.1 MB/s | 183 kB 00:00 (55/151): jansson-2.13.1-6.fc38.i686.rpm 3.7 MB/s | 46 kB 00:00 (56/151): keyutils-libs-1.6.1-6.fc38.i686.rpm 2.9 MB/s | 32 kB 00:00 (57/151): kernel-srpm-macros-1.0-19.fc38.noarch 843 kB/s | 10 kB 00:00 (58/151): libacl-2.3.1-6.fc38.i686.rpm 2.2 MB/s | 24 kB 00:00 (59/151): krb5-libs-1.21-3.fc38.i686.rpm 27 MB/s | 803 kB 00:00 (60/151): libattr-2.5.1-6.fc38.i686.rpm 1.7 MB/s | 18 kB 00:00 (61/151): libarchive-3.6.1-4.fc38.i686.rpm 16 MB/s | 442 kB 00:00 (62/151): libblkid-2.38.1-4.fc38.i686.rpm 7.7 MB/s | 116 kB 00:00 (63/151): libcap-2.48-6.fc38.i686.rpm 3.9 MB/s | 69 kB 00:00 (64/151): libcap-ng-0.8.3-8.fc38.i686.rpm 2.1 MB/s | 33 kB 00:00 (65/151): libcom_err-1.46.5-4.fc38.i686.rpm 2.2 MB/s | 26 kB 00:00 (66/151): libcurl-8.0.1-4.fc38.i686.rpm 9.6 MB/s | 335 kB 00:00 (67/151): libdb-5.3.28-55.fc38.i686.rpm 25 MB/s | 822 kB 00:00 (68/151): libeconf-0.5.2-1.fc38.i686.rpm 1.8 MB/s | 32 kB 00:00 (69/151): libbrotli-1.0.9-11.fc38.i686.rpm 3.9 MB/s | 318 kB 00:00 (70/151): libevent-2.1.12-8.fc38.i686.rpm 11 MB/s | 277 kB 00:00 (71/151): libffi-3.4.4-2.fc38.i686.rpm 2.5 MB/s | 36 kB 00:00 (72/151): libgcc-13.2.1-1.fc38.i686.rpm 8.6 MB/s | 118 kB 00:00 (73/151): libfdisk-2.38.1-4.fc38.i686.rpm 6.6 MB/s | 174 kB 00:00 (74/151): libmount-2.38.1-4.fc38.i686.rpm 12 MB/s | 141 kB 00:00 (75/151): libgomp-13.2.1-1.fc38.i686.rpm 13 MB/s | 322 kB 00:00 (76/151): libidn2-2.3.4-2.fc38.i686.rpm 9.5 MB/s | 154 kB 00:00 (77/151): libnghttp2-1.52.0-1.fc38.i686.rpm 6.7 MB/s | 80 kB 00:00 (78/151): libnsl2-2.0.0-5.fc38.i686.rpm 2.6 MB/s | 31 kB 00:00 (79/151): libpkgconf-1.8.0-6.fc38.i686.rpm 2.0 MB/s | 38 kB 00:00 (80/151): libpsl-0.21.2-2.fc38.i686.rpm 2.6 MB/s | 66 kB 00:00 (81/151): libpwquality-1.4.5-3.fc38.i686.rpm 4.4 MB/s | 108 kB 00:00 (82/151): libselinux-3.5-1.fc38.i686.rpm 4.5 MB/s | 92 kB 00:00 (83/151): libsemanage-3.5-2.fc38.i686.rpm 7.8 MB/s | 129 kB 00:00 (84/151): libsepol-3.5-1.fc38.i686.rpm 16 MB/s | 337 kB 00:00 (85/151): libsmartcols-2.38.1-4.fc38.i686.rpm 5.1 MB/s | 66 kB 00:00 (86/151): libsigsegv-2.14-4.fc38.i686.rpm 1.0 MB/s | 27 kB 00:00 (87/151): libssh-config-0.10.5-1.fc38.noarch.rp 763 kB/s | 9.0 kB 00:00 (88/151): libssh-0.10.5-1.fc38.i686.rpm 8.4 MB/s | 226 kB 00:00 (89/151): libtasn1-4.19.0-2.fc38.i686.rpm 5.1 MB/s | 75 kB 00:00 (90/151): libtirpc-1.3.3-1.rc2.fc38.i686.rpm 7.1 MB/s | 101 kB 00:00 (91/151): libutempter-1.2.1-8.fc38.i686.rpm 2.0 MB/s | 26 kB 00:00 (92/151): libunistring1.0-1.0-1.fc38.i686.rpm 22 MB/s | 547 kB 00:00 (93/151): libuuid-2.38.1-4.fc38.i686.rpm 2.0 MB/s | 28 kB 00:00 (94/151): libverto-0.3.2-5.fc38.i686.rpm 1.7 MB/s | 21 kB 00:00 (95/151): libxcrypt-4.4.36-1.fc38.i686.rpm 9.2 MB/s | 123 kB 00:00 (96/151): libstdc++-13.2.1-1.fc38.i686.rpm 12 MB/s | 929 kB 00:00 (97/151): libxml2-2.10.4-1.fc38.i686.rpm 24 MB/s | 744 kB 00:00 (98/151): libzstd-1.5.5-1.fc38.i686.rpm 12 MB/s | 290 kB 00:00 (99/151): lua-libs-5.4.4-9.fc38.i686.rpm 6.6 MB/s | 149 kB 00:00 (100/151): lua-srpm-macros-1-8.fc38.noarch.rpm 736 kB/s | 8.6 kB 00:00 (101/151): lz4-libs-1.9.4-2.fc38.i686.rpm 5.6 MB/s | 70 kB 00:00 (102/151): ncurses-base-6.4-3.20230114.fc38.noa 5.9 MB/s | 62 kB 00:00 (103/151): mpfr-4.1.1-3.fc38.i686.rpm 23 MB/s | 636 kB 00:00 (104/151): ncurses-libs-6.4-3.20230114.fc38.i68 17 MB/s | 351 kB 00:00 (105/151): ocaml-srpm-macros-7-3.fc38.noarch.rp 795 kB/s | 13 kB 00:00 (106/151): openblas-srpm-macros-2-13.fc38.noarc 373 kB/s | 7.5 kB 00:00 (107/151): openldap-2.6.4-1.fc38.i686.rpm 12 MB/s | 273 kB 00:00 (108/151): p11-kit-trust-0.25.0-1.fc38.i686.rpm 10 MB/s | 139 kB 00:00 (109/151): p11-kit-0.25.0-1.fc38.i686.rpm 22 MB/s | 469 kB 00:00 (110/151): package-notes-srpm-macros-0.5-8.fc38 1.0 MB/s | 11 kB 00:00 (111/151): pam-libs-1.5.2-16.fc38.i686.rpm 4.3 MB/s | 60 kB 00:00 (112/151): patch-2.7.6-19.fc38.i686.rpm 6.8 MB/s | 138 kB 00:00 (113/151): pam-1.5.2-16.fc38.i686.rpm 12 MB/s | 536 kB 00:00 (114/151): pcre2-syntax-10.42-1.fc38.1.noarch.r 11 MB/s | 144 kB 00:00 (115/151): openssl-libs-3.0.9-2.fc38.i686.rpm 21 MB/s | 2.1 MB 00:00 (116/151): pcre2-10.42-1.fc38.1.i686.rpm 10 MB/s | 232 kB 00:00 (117/151): perl-srpm-macros-1-48.fc38.noarch.rp 618 kB/s | 8.4 kB 00:00 (118/151): pkgconf-m4-1.8.0-6.fc38.noarch.rpm 986 kB/s | 14 kB 00:00 (119/151): pkgconf-1.8.0-6.fc38.i686.rpm 2.2 MB/s | 41 kB 00:00 (120/151): pkgconf-pkg-config-1.8.0-6.fc38.i686 733 kB/s | 9.6 kB 00:00 (121/151): popt-1.19-2.fc38.i686.rpm 4.7 MB/s | 62 kB 00:00 (122/151): publicsuffix-list-dafsa-20230812-1.f 5.0 MB/s | 57 kB 00:00 (123/151): pyproject-srpm-macros-1.9.0-1.fc38.n 1.2 MB/s | 15 kB 00:00 (124/151): python-srpm-macros-3.11-10.fc38.noar 2.0 MB/s | 26 kB 00:00 (125/151): qt5-srpm-macros-5.15.10-1.fc38.noarc 730 kB/s | 8.2 kB 00:00 (126/151): readline-8.2-3.fc38.i686.rpm 10 MB/s | 218 kB 00:00 (127/151): redhat-rpm-config-252-1.fc38.noarch. 5.2 MB/s | 76 kB 00:00 (128/151): rpm-4.18.1-3.fc38.i686.rpm 23 MB/s | 541 kB 00:00 (129/151): rpm-build-libs-4.18.1-3.fc38.i686.rp 8.1 MB/s | 101 kB 00:00 (130/151): rpm-build-4.18.1-3.fc38.i686.rpm 4.5 MB/s | 69 kB 00:00 (131/151): rpm-libs-4.18.1-3.fc38.i686.rpm 25 MB/s | 343 kB 00:00 (132/151): rpmautospec-rpm-macros-0.3.5-1.fc38. 430 kB/s | 9.3 kB 00:00 (133/151): rust-srpm-macros-24-5.fc38.noarch.rp 965 kB/s | 12 kB 00:00 (134/151): setup-2.14.3-2.fc38.noarch.rpm 13 MB/s | 146 kB 00:00 (135/151): sed-4.8-12.fc38.i686.rpm 16 MB/s | 300 kB 00:00 (136/151): rpm-sequoia-1.5.0-1.fc38.i686.rpm 18 MB/s | 956 kB 00:00 (137/151): sqlite-libs-3.40.1-2.fc38.i686.rpm 21 MB/s | 704 kB 00:00 (138/151): shadow-utils-4.13-6.fc38.i686.rpm 24 MB/s | 1.2 MB 00:00 (139/151): systemd-libs-253.10-1.fc38.i686.rpm 15 MB/s | 686 kB 00:00 (140/151): tzdata-2023c-1.fc38.noarch.rpm 17 MB/s | 433 kB 00:00 (141/151): tar-1.34-8.fc38.i686.rpm 22 MB/s | 894 kB 00:00 (142/151): unzip-6.0-60.fc38.i686.rpm 10 MB/s | 179 kB 00:00 (143/151): which-2.21-39.fc38.i686.rpm 2.0 MB/s | 42 kB 00:00 (144/151): util-linux-core-2.38.1-4.fc38.i686.r 14 MB/s | 470 kB 00:00 (145/151): xxhash-libs-0.8.2-1.fc38.i686.rpm 2.5 MB/s | 49 kB 00:00 (146/151): xz-libs-5.4.1-1.fc38.i686.rpm 7.9 MB/s | 117 kB 00:00 (147/151): util-linux-2.38.1-4.fc38.i686.rpm 35 MB/s | 2.3 MB 00:00 (148/151): xz-5.4.1-1.fc38.i686.rpm 13 MB/s | 409 kB 00:00 (149/151): zip-3.0-37.fc38.i686.rpm 13 MB/s | 266 kB 00:00 (150/151): zlib-1.2.13-3.fc38.i686.rpm 4.3 MB/s | 93 kB 00:00 (151/151): zstd-1.5.5-1.fc38.i686.rpm 14 MB/s | 450 kB 00:00 -------------------------------------------------------------------------------- Total 42 MB/s | 54 MB 00:01 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Running scriptlet: filesystem-3.18-3.fc38.i686 1/1 Preparing : 1/1 Installing : crypto-policies-20230301-1.gita12f7b2.fc38.noarc 1/151 Running scriptlet: crypto-policies-20230301-1.gita12f7b2.fc38.noarc 1/151 Installing : tzdata-2023c-1.fc38.noarch 2/151 Installing : fedora-release-identity-basic-38-36.noarch 3/151 Installing : rust-srpm-macros-24-5.fc38.noarch 4/151 Installing : qt5-srpm-macros-5.15.10-1.fc38.noarch 5/151 Installing : pyproject-srpm-macros-1.9.0-1.fc38.noarch 6/151 Installing : publicsuffix-list-dafsa-20230812-1.fc38.noarch 7/151 Installing : pkgconf-m4-1.8.0-6.fc38.noarch 8/151 Installing : perl-srpm-macros-1-48.fc38.noarch 9/151 Installing : pcre2-syntax-10.42-1.fc38.1.noarch 10/151 Installing : package-notes-srpm-macros-0.5-8.fc38.noarch 11/151 Installing : openblas-srpm-macros-2-13.fc38.noarch 12/151 Installing : ocaml-srpm-macros-7-3.fc38.noarch 13/151 Installing : ncurses-base-6.4-3.20230114.fc38.noarch 14/151 Installing : libssh-config-0.10.5-1.fc38.noarch 15/151 Installing : kernel-srpm-macros-1.0-19.fc38.noarch 16/151 Installing : gnat-srpm-macros-6-2.fc38.noarch 17/151 Installing : ghc-srpm-macros-1.6.1-1.fc38.noarch 18/151 Installing : fpc-srpm-macros-1.3-7.fc38.noarch 19/151 Installing : fedora-gpg-keys-38-1.noarch 20/151 Installing : fedora-release-38-36.noarch 21/151 Installing : fedora-repos-38-1.noarch 22/151 Installing : fedora-release-common-38-36.noarch 23/151 Installing : setup-2.14.3-2.fc38.noarch 24/151 warning: /etc/hosts created as /etc/hosts.rpmnew Running scriptlet: setup-2.14.3-2.fc38.noarch 24/151 Installing : filesystem-3.18-3.fc38.i686 25/151 Installing : basesystem-11-15.fc38.noarch 26/151 Installing : coreutils-common-9.1-12.fc38.i686 27/151 Installing : ansible-srpm-macros-1-10.fc38.noarch 28/151 Installing : libgcc-13.2.1-1.fc38.i686 29/151 Running scriptlet: libgcc-13.2.1-1.fc38.i686 29/151 Installing : glibc-gconv-extra-2.37-5.fc38.i686 30/151 Running scriptlet: glibc-gconv-extra-2.37-5.fc38.i686 30/151 Installing : glibc-minimal-langpack-2.37-5.fc38.i686 31/151 Installing : glibc-common-2.37-5.fc38.i686 32/151 Running scriptlet: glibc-2.37-5.fc38.i686 33/151 Installing : glibc-2.37-5.fc38.i686 33/151 Running scriptlet: glibc-2.37-5.fc38.i686 33/151 Installing : ncurses-libs-6.4-3.20230114.fc38.i686 34/151 Installing : bash-5.2.15-3.fc38.i686 35/151 Running scriptlet: bash-5.2.15-3.fc38.i686 35/151 Installing : zlib-1.2.13-3.fc38.i686 36/151 Installing : xz-libs-5.4.1-1.fc38.i686 37/151 Installing : bzip2-libs-1.0.8-13.fc38.i686 38/151 Installing : libzstd-1.5.5-1.fc38.i686 39/151 Installing : elfutils-libelf-0.189-3.fc38.i686 40/151 Installing : libstdc++-13.2.1-1.fc38.i686 41/151 Installing : libuuid-2.38.1-4.fc38.i686 42/151 Installing : popt-1.19-2.fc38.i686 43/151 Installing : libblkid-2.38.1-4.fc38.i686 44/151 Installing : readline-8.2-3.fc38.i686 45/151 Installing : gmp-1:6.2.1-4.fc38.i686 46/151 Installing : libattr-2.5.1-6.fc38.i686 47/151 Installing : libacl-2.3.1-6.fc38.i686 48/151 Installing : libcap-2.48-6.fc38.i686 49/151 Installing : libxcrypt-4.4.36-1.fc38.i686 50/151 Installing : libeconf-0.5.2-1.fc38.i686 51/151 Installing : lz4-libs-1.9.4-2.fc38.i686 52/151 Installing : systemd-libs-253.10-1.fc38.i686 53/151 Installing : mpfr-4.1.1-3.fc38.i686 54/151 Installing : dwz-0.15-2.fc38.i686 55/151 Installing : unzip-6.0-60.fc38.i686 56/151 Installing : file-libs-5.44-3.fc38.i686 57/151 Installing : file-5.44-3.fc38.i686 58/151 Installing : sqlite-libs-3.40.1-2.fc38.i686 59/151 Installing : alternatives-1.25-1.fc38.i686 60/151 Installing : libcap-ng-0.8.3-8.fc38.i686 61/151 Installing : audit-libs-3.1.2-1.fc38.i686 62/151 Installing : pam-libs-1.5.2-16.fc38.i686 63/151 Installing : libcom_err-1.46.5-4.fc38.i686 64/151 Installing : libsepol-3.5-1.fc38.i686 65/151 Installing : libsmartcols-2.38.1-4.fc38.i686 66/151 Installing : libunistring1.0-1.0-1.fc38.i686 67/151 Installing : libidn2-2.3.4-2.fc38.i686 68/151 Installing : lua-libs-5.4.4-9.fc38.i686 69/151 Installing : pcre2-10.42-1.fc38.1.i686 70/151 Installing : elfutils-default-yama-scope-0.189-3.fc38.noarch 71/151 Running scriptlet: elfutils-default-yama-scope-0.189-3.fc38.noarch 71/151 Installing : libselinux-3.5-1.fc38.i686 72/151 Installing : sed-4.8-12.fc38.i686 73/151 Installing : grep-3.8-3.fc38.i686 74/151 Installing : findutils-1:4.9.0-3.fc38.i686 75/151 Installing : xz-5.4.1-1.fc38.i686 76/151 Installing : libmount-2.38.1-4.fc38.i686 77/151 Installing : util-linux-core-2.38.1-4.fc38.i686 78/151 Installing : libsemanage-3.5-2.fc38.i686 79/151 Installing : shadow-utils-2:4.13-6.fc38.i686 80/151 Running scriptlet: libutempter-1.2.1-8.fc38.i686 81/151 Installing : libutempter-1.2.1-8.fc38.i686 81/151 Installing : tar-2:1.34-8.fc38.i686 82/151 Installing : libpsl-0.21.2-2.fc38.i686 83/151 Installing : zip-3.0-37.fc38.i686 84/151 Installing : zstd-1.5.5-1.fc38.i686 85/151 Installing : libfdisk-2.38.1-4.fc38.i686 86/151 Installing : bzip2-1.0.8-13.fc38.i686 87/151 Installing : libxml2-2.10.4-1.fc38.i686 88/151 Installing : ed-1.19-2.fc38.i686 89/151 Installing : patch-2.7.6-19.fc38.i686 90/151 Installing : cpio-2.13-14.fc38.i686 91/151 Installing : diffutils-3.10-1.fc38.i686 92/151 Installing : gdbm-libs-1:1.23-3.fc38.i686 93/151 Installing : cyrus-sasl-lib-2.1.28-9.fc38.i686 94/151 Installing : jansson-2.13.1-6.fc38.i686 95/151 Installing : keyutils-libs-1.6.1-6.fc38.i686 96/151 Installing : libbrotli-1.0.9-11.fc38.i686 97/151 Installing : libdb-5.3.28-55.fc38.i686 98/151 Installing : libffi-3.4.4-2.fc38.i686 99/151 Installing : p11-kit-0.25.0-1.fc38.i686 100/151 Installing : libgomp-13.2.1-1.fc38.i686 101/151 Installing : libnghttp2-1.52.0-1.fc38.i686 102/151 Installing : libpkgconf-1.8.0-6.fc38.i686 103/151 Installing : pkgconf-1.8.0-6.fc38.i686 104/151 Installing : pkgconf-pkg-config-1.8.0-6.fc38.i686 105/151 Installing : libsigsegv-2.14-4.fc38.i686 106/151 Installing : gawk-5.1.1-5.fc38.i686 107/151 Installing : libtasn1-4.19.0-2.fc38.i686 108/151 Installing : p11-kit-trust-0.25.0-1.fc38.i686 109/151 Running scriptlet: p11-kit-trust-0.25.0-1.fc38.i686 109/151 Installing : openssl-libs-1:3.0.9-2.fc38.i686 110/151 Installing : coreutils-9.1-12.fc38.i686 111/151 Running scriptlet: ca-certificates-2023.2.60-2.fc38.noarch 112/151 Installing : ca-certificates-2023.2.60-2.fc38.noarch 112/151 Running scriptlet: ca-certificates-2023.2.60-2.fc38.noarch 112/151 Running scriptlet: authselect-libs-1.4.2-2.fc38.i686 113/151 Installing : authselect-libs-1.4.2-2.fc38.i686 113/151 Installing : gzip-1.12-3.fc38.i686 114/151 Installing : rpm-sequoia-1.5.0-1.fc38.i686 115/151 Installing : rpm-libs-4.18.1-3.fc38.i686 116/151 Installing : cracklib-2.9.11-1.fc38.i686 117/151 Installing : libpwquality-1.4.5-3.fc38.i686 118/151 Installing : authselect-1.4.2-2.fc38.i686 119/151 Installing : libarchive-3.6.1-4.fc38.i686 120/151 Installing : libevent-2.1.12-8.fc38.i686 121/151 Installing : openldap-2.6.4-1.fc38.i686 122/151 Installing : libverto-0.3.2-5.fc38.i686 123/151 Installing : krb5-libs-1.21-3.fc38.i686 124/151 Installing : libtirpc-1.3.3-1.rc2.fc38.i686 125/151 Installing : libnsl2-2.0.0-5.fc38.i686 126/151 Installing : pam-1.5.2-16.fc38.i686 127/151 Installing : libssh-0.10.5-1.fc38.i686 128/151 Installing : libcurl-8.0.1-4.fc38.i686 129/151 Installing : elfutils-libs-0.189-3.fc38.i686 130/151 Installing : elfutils-debuginfod-client-0.189-3.fc38.i686 131/151 Installing : binutils-gold-2.39-9.fc38.i686 132/151 Installing : binutils-2.39-9.fc38.i686 133/151 Running scriptlet: binutils-2.39-9.fc38.i686 133/151 Installing : elfutils-0.189-3.fc38.i686 134/151 Installing : rpm-build-libs-4.18.1-3.fc38.i686 135/151 Installing : curl-8.0.1-4.fc38.i686 136/151 Running scriptlet: rpm-4.18.1-3.fc38.i686 137/151 Installing : rpm-4.18.1-3.fc38.i686 137/151 Installing : efi-srpm-macros-5-7.fc38.noarch 138/151 Installing : lua-srpm-macros-1-8.fc38.noarch 139/151 Installing : rpmautospec-rpm-macros-0.3.5-1.fc38.noarch 140/151 Installing : fonts-srpm-macros-1:2.0.5-11.fc38.noarch 141/151 Installing : go-srpm-macros-3.2.0-2.fc38.noarch 142/151 Installing : python-srpm-macros-3.11-10.fc38.noarch 143/151 Installing : redhat-rpm-config-252-1.fc38.noarch 144/151 Installing : xxhash-libs-0.8.2-1.fc38.i686 145/151 Installing : gdb-minimal-13.2-4.fc38.i686 146/151 Installing : debugedit-5.0-9.fc38.i686 147/151 Installing : rpm-build-4.18.1-3.fc38.i686 148/151 Installing : util-linux-2.38.1-4.fc38.i686 149/151 Installing : which-2.21-39.fc38.i686 150/151 Installing : info-7.0.2-2.fc38.i686 151/151 Running scriptlet: filesystem-3.18-3.fc38.i686 151/151 Running scriptlet: ca-certificates-2023.2.60-2.fc38.noarch 151/151 Running scriptlet: authselect-libs-1.4.2-2.fc38.i686 151/151 Running scriptlet: rpm-4.18.1-3.fc38.i686 151/151 Running scriptlet: info-7.0.2-2.fc38.i686 151/151 Verifying : alternatives-1.25-1.fc38.i686 1/151 Verifying : ansible-srpm-macros-1-10.fc38.noarch 2/151 Verifying : audit-libs-3.1.2-1.fc38.i686 3/151 Verifying : authselect-1.4.2-2.fc38.i686 4/151 Verifying : authselect-libs-1.4.2-2.fc38.i686 5/151 Verifying : basesystem-11-15.fc38.noarch 6/151 Verifying : bash-5.2.15-3.fc38.i686 7/151 Verifying : binutils-2.39-9.fc38.i686 8/151 Verifying : binutils-gold-2.39-9.fc38.i686 9/151 Verifying : bzip2-1.0.8-13.fc38.i686 10/151 Verifying : bzip2-libs-1.0.8-13.fc38.i686 11/151 Verifying : ca-certificates-2023.2.60-2.fc38.noarch 12/151 Verifying : coreutils-9.1-12.fc38.i686 13/151 Verifying : coreutils-common-9.1-12.fc38.i686 14/151 Verifying : cpio-2.13-14.fc38.i686 15/151 Verifying : cracklib-2.9.11-1.fc38.i686 16/151 Verifying : crypto-policies-20230301-1.gita12f7b2.fc38.noarc 17/151 Verifying : curl-8.0.1-4.fc38.i686 18/151 Verifying : cyrus-sasl-lib-2.1.28-9.fc38.i686 19/151 Verifying : debugedit-5.0-9.fc38.i686 20/151 Verifying : diffutils-3.10-1.fc38.i686 21/151 Verifying : dwz-0.15-2.fc38.i686 22/151 Verifying : ed-1.19-2.fc38.i686 23/151 Verifying : efi-srpm-macros-5-7.fc38.noarch 24/151 Verifying : elfutils-0.189-3.fc38.i686 25/151 Verifying : elfutils-debuginfod-client-0.189-3.fc38.i686 26/151 Verifying : elfutils-default-yama-scope-0.189-3.fc38.noarch 27/151 Verifying : elfutils-libelf-0.189-3.fc38.i686 28/151 Verifying : elfutils-libs-0.189-3.fc38.i686 29/151 Verifying : fedora-gpg-keys-38-1.noarch 30/151 Verifying : fedora-release-38-36.noarch 31/151 Verifying : fedora-release-common-38-36.noarch 32/151 Verifying : fedora-release-identity-basic-38-36.noarch 33/151 Verifying : fedora-repos-38-1.noarch 34/151 Verifying : file-5.44-3.fc38.i686 35/151 Verifying : file-libs-5.44-3.fc38.i686 36/151 Verifying : filesystem-3.18-3.fc38.i686 37/151 Verifying : findutils-1:4.9.0-3.fc38.i686 38/151 Verifying : fonts-srpm-macros-1:2.0.5-11.fc38.noarch 39/151 Verifying : fpc-srpm-macros-1.3-7.fc38.noarch 40/151 Verifying : gawk-5.1.1-5.fc38.i686 41/151 Verifying : gdb-minimal-13.2-4.fc38.i686 42/151 Verifying : gdbm-libs-1:1.23-3.fc38.i686 43/151 Verifying : ghc-srpm-macros-1.6.1-1.fc38.noarch 44/151 Verifying : glibc-2.37-5.fc38.i686 45/151 Verifying : glibc-common-2.37-5.fc38.i686 46/151 Verifying : glibc-gconv-extra-2.37-5.fc38.i686 47/151 Verifying : glibc-minimal-langpack-2.37-5.fc38.i686 48/151 Verifying : gmp-1:6.2.1-4.fc38.i686 49/151 Verifying : gnat-srpm-macros-6-2.fc38.noarch 50/151 Verifying : go-srpm-macros-3.2.0-2.fc38.noarch 51/151 Verifying : grep-3.8-3.fc38.i686 52/151 Verifying : gzip-1.12-3.fc38.i686 53/151 Verifying : info-7.0.2-2.fc38.i686 54/151 Verifying : jansson-2.13.1-6.fc38.i686 55/151 Verifying : kernel-srpm-macros-1.0-19.fc38.noarch 56/151 Verifying : keyutils-libs-1.6.1-6.fc38.i686 57/151 Verifying : krb5-libs-1.21-3.fc38.i686 58/151 Verifying : libacl-2.3.1-6.fc38.i686 59/151 Verifying : libarchive-3.6.1-4.fc38.i686 60/151 Verifying : libattr-2.5.1-6.fc38.i686 61/151 Verifying : libblkid-2.38.1-4.fc38.i686 62/151 Verifying : libbrotli-1.0.9-11.fc38.i686 63/151 Verifying : libcap-2.48-6.fc38.i686 64/151 Verifying : libcap-ng-0.8.3-8.fc38.i686 65/151 Verifying : libcom_err-1.46.5-4.fc38.i686 66/151 Verifying : libcurl-8.0.1-4.fc38.i686 67/151 Verifying : libdb-5.3.28-55.fc38.i686 68/151 Verifying : libeconf-0.5.2-1.fc38.i686 69/151 Verifying : libevent-2.1.12-8.fc38.i686 70/151 Verifying : libfdisk-2.38.1-4.fc38.i686 71/151 Verifying : libffi-3.4.4-2.fc38.i686 72/151 Verifying : libgcc-13.2.1-1.fc38.i686 73/151 Verifying : libgomp-13.2.1-1.fc38.i686 74/151 Verifying : libidn2-2.3.4-2.fc38.i686 75/151 Verifying : libmount-2.38.1-4.fc38.i686 76/151 Verifying : libnghttp2-1.52.0-1.fc38.i686 77/151 Verifying : libnsl2-2.0.0-5.fc38.i686 78/151 Verifying : libpkgconf-1.8.0-6.fc38.i686 79/151 Verifying : libpsl-0.21.2-2.fc38.i686 80/151 Verifying : libpwquality-1.4.5-3.fc38.i686 81/151 Verifying : libselinux-3.5-1.fc38.i686 82/151 Verifying : libsemanage-3.5-2.fc38.i686 83/151 Verifying : libsepol-3.5-1.fc38.i686 84/151 Verifying : libsigsegv-2.14-4.fc38.i686 85/151 Verifying : libsmartcols-2.38.1-4.fc38.i686 86/151 Verifying : libssh-0.10.5-1.fc38.i686 87/151 Verifying : libssh-config-0.10.5-1.fc38.noarch 88/151 Verifying : libstdc++-13.2.1-1.fc38.i686 89/151 Verifying : libtasn1-4.19.0-2.fc38.i686 90/151 Verifying : libtirpc-1.3.3-1.rc2.fc38.i686 91/151 Verifying : libunistring1.0-1.0-1.fc38.i686 92/151 Verifying : libutempter-1.2.1-8.fc38.i686 93/151 Verifying : libuuid-2.38.1-4.fc38.i686 94/151 Verifying : libverto-0.3.2-5.fc38.i686 95/151 Verifying : libxcrypt-4.4.36-1.fc38.i686 96/151 Verifying : libxml2-2.10.4-1.fc38.i686 97/151 Verifying : libzstd-1.5.5-1.fc38.i686 98/151 Verifying : lua-libs-5.4.4-9.fc38.i686 99/151 Verifying : lua-srpm-macros-1-8.fc38.noarch 100/151 Verifying : lz4-libs-1.9.4-2.fc38.i686 101/151 Verifying : mpfr-4.1.1-3.fc38.i686 102/151 Verifying : ncurses-base-6.4-3.20230114.fc38.noarch 103/151 Verifying : ncurses-libs-6.4-3.20230114.fc38.i686 104/151 Verifying : ocaml-srpm-macros-7-3.fc38.noarch 105/151 Verifying : openblas-srpm-macros-2-13.fc38.noarch 106/151 Verifying : openldap-2.6.4-1.fc38.i686 107/151 Verifying : openssl-libs-1:3.0.9-2.fc38.i686 108/151 Verifying : p11-kit-0.25.0-1.fc38.i686 109/151 Verifying : p11-kit-trust-0.25.0-1.fc38.i686 110/151 Verifying : package-notes-srpm-macros-0.5-8.fc38.noarch 111/151 Verifying : pam-1.5.2-16.fc38.i686 112/151 Verifying : pam-libs-1.5.2-16.fc38.i686 113/151 Verifying : patch-2.7.6-19.fc38.i686 114/151 Verifying : pcre2-10.42-1.fc38.1.i686 115/151 Verifying : pcre2-syntax-10.42-1.fc38.1.noarch 116/151 Verifying : perl-srpm-macros-1-48.fc38.noarch 117/151 Verifying : pkgconf-1.8.0-6.fc38.i686 118/151 Verifying : pkgconf-m4-1.8.0-6.fc38.noarch 119/151 Verifying : pkgconf-pkg-config-1.8.0-6.fc38.i686 120/151 Verifying : popt-1.19-2.fc38.i686 121/151 Verifying : publicsuffix-list-dafsa-20230812-1.fc38.noarch 122/151 Verifying : pyproject-srpm-macros-1.9.0-1.fc38.noarch 123/151 Verifying : python-srpm-macros-3.11-10.fc38.noarch 124/151 Verifying : qt5-srpm-macros-5.15.10-1.fc38.noarch 125/151 Verifying : readline-8.2-3.fc38.i686 126/151 Verifying : redhat-rpm-config-252-1.fc38.noarch 127/151 Verifying : rpm-4.18.1-3.fc38.i686 128/151 Verifying : rpm-build-4.18.1-3.fc38.i686 129/151 Verifying : rpm-build-libs-4.18.1-3.fc38.i686 130/151 Verifying : rpm-libs-4.18.1-3.fc38.i686 131/151 Verifying : rpm-sequoia-1.5.0-1.fc38.i686 132/151 Verifying : rpmautospec-rpm-macros-0.3.5-1.fc38.noarch 133/151 Verifying : rust-srpm-macros-24-5.fc38.noarch 134/151 Verifying : sed-4.8-12.fc38.i686 135/151 Verifying : setup-2.14.3-2.fc38.noarch 136/151 Verifying : shadow-utils-2:4.13-6.fc38.i686 137/151 Verifying : sqlite-libs-3.40.1-2.fc38.i686 138/151 Verifying : systemd-libs-253.10-1.fc38.i686 139/151 Verifying : tar-2:1.34-8.fc38.i686 140/151 Verifying : tzdata-2023c-1.fc38.noarch 141/151 Verifying : unzip-6.0-60.fc38.i686 142/151 Verifying : util-linux-2.38.1-4.fc38.i686 143/151 Verifying : util-linux-core-2.38.1-4.fc38.i686 144/151 Verifying : which-2.21-39.fc38.i686 145/151 Verifying : xxhash-libs-0.8.2-1.fc38.i686 146/151 Verifying : xz-5.4.1-1.fc38.i686 147/151 Verifying : xz-libs-5.4.1-1.fc38.i686 148/151 Verifying : zip-3.0-37.fc38.i686 149/151 Verifying : zlib-1.2.13-3.fc38.i686 150/151 Verifying : zstd-1.5.5-1.fc38.i686 151/151 Installed products updated. Installed: alternatives-1.25-1.fc38.i686 ansible-srpm-macros-1-10.fc38.noarch audit-libs-3.1.2-1.fc38.i686 authselect-1.4.2-2.fc38.i686 authselect-libs-1.4.2-2.fc38.i686 basesystem-11-15.fc38.noarch bash-5.2.15-3.fc38.i686 binutils-2.39-9.fc38.i686 binutils-gold-2.39-9.fc38.i686 bzip2-1.0.8-13.fc38.i686 bzip2-libs-1.0.8-13.fc38.i686 ca-certificates-2023.2.60-2.fc38.noarch coreutils-9.1-12.fc38.i686 coreutils-common-9.1-12.fc38.i686 cpio-2.13-14.fc38.i686 cracklib-2.9.11-1.fc38.i686 crypto-policies-20230301-1.gita12f7b2.fc38.noarch curl-8.0.1-4.fc38.i686 cyrus-sasl-lib-2.1.28-9.fc38.i686 debugedit-5.0-9.fc38.i686 diffutils-3.10-1.fc38.i686 dwz-0.15-2.fc38.i686 ed-1.19-2.fc38.i686 efi-srpm-macros-5-7.fc38.noarch elfutils-0.189-3.fc38.i686 elfutils-debuginfod-client-0.189-3.fc38.i686 elfutils-default-yama-scope-0.189-3.fc38.noarch elfutils-libelf-0.189-3.fc38.i686 elfutils-libs-0.189-3.fc38.i686 fedora-gpg-keys-38-1.noarch fedora-release-38-36.noarch fedora-release-common-38-36.noarch fedora-release-identity-basic-38-36.noarch fedora-repos-38-1.noarch file-5.44-3.fc38.i686 file-libs-5.44-3.fc38.i686 filesystem-3.18-3.fc38.i686 findutils-1:4.9.0-3.fc38.i686 fonts-srpm-macros-1:2.0.5-11.fc38.noarch fpc-srpm-macros-1.3-7.fc38.noarch gawk-5.1.1-5.fc38.i686 gdb-minimal-13.2-4.fc38.i686 gdbm-libs-1:1.23-3.fc38.i686 ghc-srpm-macros-1.6.1-1.fc38.noarch glibc-2.37-5.fc38.i686 glibc-common-2.37-5.fc38.i686 glibc-gconv-extra-2.37-5.fc38.i686 glibc-minimal-langpack-2.37-5.fc38.i686 gmp-1:6.2.1-4.fc38.i686 gnat-srpm-macros-6-2.fc38.noarch go-srpm-macros-3.2.0-2.fc38.noarch grep-3.8-3.fc38.i686 gzip-1.12-3.fc38.i686 info-7.0.2-2.fc38.i686 jansson-2.13.1-6.fc38.i686 kernel-srpm-macros-1.0-19.fc38.noarch keyutils-libs-1.6.1-6.fc38.i686 krb5-libs-1.21-3.fc38.i686 libacl-2.3.1-6.fc38.i686 libarchive-3.6.1-4.fc38.i686 libattr-2.5.1-6.fc38.i686 libblkid-2.38.1-4.fc38.i686 libbrotli-1.0.9-11.fc38.i686 libcap-2.48-6.fc38.i686 libcap-ng-0.8.3-8.fc38.i686 libcom_err-1.46.5-4.fc38.i686 libcurl-8.0.1-4.fc38.i686 libdb-5.3.28-55.fc38.i686 libeconf-0.5.2-1.fc38.i686 libevent-2.1.12-8.fc38.i686 libfdisk-2.38.1-4.fc38.i686 libffi-3.4.4-2.fc38.i686 libgcc-13.2.1-1.fc38.i686 libgomp-13.2.1-1.fc38.i686 libidn2-2.3.4-2.fc38.i686 libmount-2.38.1-4.fc38.i686 libnghttp2-1.52.0-1.fc38.i686 libnsl2-2.0.0-5.fc38.i686 libpkgconf-1.8.0-6.fc38.i686 libpsl-0.21.2-2.fc38.i686 libpwquality-1.4.5-3.fc38.i686 libselinux-3.5-1.fc38.i686 libsemanage-3.5-2.fc38.i686 libsepol-3.5-1.fc38.i686 libsigsegv-2.14-4.fc38.i686 libsmartcols-2.38.1-4.fc38.i686 libssh-0.10.5-1.fc38.i686 libssh-config-0.10.5-1.fc38.noarch libstdc++-13.2.1-1.fc38.i686 libtasn1-4.19.0-2.fc38.i686 libtirpc-1.3.3-1.rc2.fc38.i686 libunistring1.0-1.0-1.fc38.i686 libutempter-1.2.1-8.fc38.i686 libuuid-2.38.1-4.fc38.i686 libverto-0.3.2-5.fc38.i686 libxcrypt-4.4.36-1.fc38.i686 libxml2-2.10.4-1.fc38.i686 libzstd-1.5.5-1.fc38.i686 lua-libs-5.4.4-9.fc38.i686 lua-srpm-macros-1-8.fc38.noarch lz4-libs-1.9.4-2.fc38.i686 mpfr-4.1.1-3.fc38.i686 ncurses-base-6.4-3.20230114.fc38.noarch ncurses-libs-6.4-3.20230114.fc38.i686 ocaml-srpm-macros-7-3.fc38.noarch openblas-srpm-macros-2-13.fc38.noarch openldap-2.6.4-1.fc38.i686 openssl-libs-1:3.0.9-2.fc38.i686 p11-kit-0.25.0-1.fc38.i686 p11-kit-trust-0.25.0-1.fc38.i686 package-notes-srpm-macros-0.5-8.fc38.noarch pam-1.5.2-16.fc38.i686 pam-libs-1.5.2-16.fc38.i686 patch-2.7.6-19.fc38.i686 pcre2-10.42-1.fc38.1.i686 pcre2-syntax-10.42-1.fc38.1.noarch perl-srpm-macros-1-48.fc38.noarch pkgconf-1.8.0-6.fc38.i686 pkgconf-m4-1.8.0-6.fc38.noarch pkgconf-pkg-config-1.8.0-6.fc38.i686 popt-1.19-2.fc38.i686 publicsuffix-list-dafsa-20230812-1.fc38.noarch pyproject-srpm-macros-1.9.0-1.fc38.noarch python-srpm-macros-3.11-10.fc38.noarch qt5-srpm-macros-5.15.10-1.fc38.noarch readline-8.2-3.fc38.i686 redhat-rpm-config-252-1.fc38.noarch rpm-4.18.1-3.fc38.i686 rpm-build-4.18.1-3.fc38.i686 rpm-build-libs-4.18.1-3.fc38.i686 rpm-libs-4.18.1-3.fc38.i686 rpm-sequoia-1.5.0-1.fc38.i686 rpmautospec-rpm-macros-0.3.5-1.fc38.noarch rust-srpm-macros-24-5.fc38.noarch sed-4.8-12.fc38.i686 setup-2.14.3-2.fc38.noarch shadow-utils-2:4.13-6.fc38.i686 sqlite-libs-3.40.1-2.fc38.i686 systemd-libs-253.10-1.fc38.i686 tar-2:1.34-8.fc38.i686 tzdata-2023c-1.fc38.noarch unzip-6.0-60.fc38.i686 util-linux-2.38.1-4.fc38.i686 util-linux-core-2.38.1-4.fc38.i686 which-2.21-39.fc38.i686 xxhash-libs-0.8.2-1.fc38.i686 xz-5.4.1-1.fc38.i686 xz-libs-5.4.1-1.fc38.i686 zip-3.0-37.fc38.i686 zlib-1.2.13-3.fc38.i686 zstd-1.5.5-1.fc38.i686 Complete! Finish: installing minimal buildroot with dnf Start: creating root cache Finish: creating root cache Finish: chroot init INFO: Installed packages: INFO: alternatives-1.25-1.fc38.i686 ansible-srpm-macros-1-10.fc38.noarch audit-libs-3.1.2-1.fc38.i686 authselect-1.4.2-2.fc38.i686 authselect-libs-1.4.2-2.fc38.i686 basesystem-11-15.fc38.noarch bash-5.2.15-3.fc38.i686 binutils-2.39-9.fc38.i686 binutils-gold-2.39-9.fc38.i686 bzip2-1.0.8-13.fc38.i686 bzip2-libs-1.0.8-13.fc38.i686 ca-certificates-2023.2.60-2.fc38.noarch coreutils-9.1-12.fc38.i686 coreutils-common-9.1-12.fc38.i686 cpio-2.13-14.fc38.i686 cracklib-2.9.11-1.fc38.i686 crypto-policies-20230301-1.gita12f7b2.fc38.noarch curl-8.0.1-4.fc38.i686 cyrus-sasl-lib-2.1.28-9.fc38.i686 debugedit-5.0-9.fc38.i686 diffutils-3.10-1.fc38.i686 dwz-0.15-2.fc38.i686 ed-1.19-2.fc38.i686 efi-srpm-macros-5-7.fc38.noarch elfutils-0.189-3.fc38.i686 elfutils-debuginfod-client-0.189-3.fc38.i686 elfutils-default-yama-scope-0.189-3.fc38.noarch elfutils-libelf-0.189-3.fc38.i686 elfutils-libs-0.189-3.fc38.i686 fedora-gpg-keys-38-1.noarch fedora-release-38-36.noarch fedora-release-common-38-36.noarch fedora-release-identity-basic-38-36.noarch fedora-repos-38-1.noarch file-5.44-3.fc38.i686 file-libs-5.44-3.fc38.i686 filesystem-3.18-3.fc38.i686 findutils-4.9.0-3.fc38.i686 fonts-srpm-macros-2.0.5-11.fc38.noarch fpc-srpm-macros-1.3-7.fc38.noarch gawk-5.1.1-5.fc38.i686 gdb-minimal-13.2-4.fc38.i686 gdbm-libs-1.23-3.fc38.i686 ghc-srpm-macros-1.6.1-1.fc38.noarch glibc-2.37-5.fc38.i686 glibc-common-2.37-5.fc38.i686 glibc-gconv-extra-2.37-5.fc38.i686 glibc-minimal-langpack-2.37-5.fc38.i686 gmp-6.2.1-4.fc38.i686 gnat-srpm-macros-6-2.fc38.noarch go-srpm-macros-3.2.0-2.fc38.noarch grep-3.8-3.fc38.i686 gzip-1.12-3.fc38.i686 info-7.0.2-2.fc38.i686 jansson-2.13.1-6.fc38.i686 kernel-srpm-macros-1.0-19.fc38.noarch keyutils-libs-1.6.1-6.fc38.i686 krb5-libs-1.21-3.fc38.i686 libacl-2.3.1-6.fc38.i686 libarchive-3.6.1-4.fc38.i686 libattr-2.5.1-6.fc38.i686 libblkid-2.38.1-4.fc38.i686 libbrotli-1.0.9-11.fc38.i686 libcap-2.48-6.fc38.i686 libcap-ng-0.8.3-8.fc38.i686 libcom_err-1.46.5-4.fc38.i686 libcurl-8.0.1-4.fc38.i686 libdb-5.3.28-55.fc38.i686 libeconf-0.5.2-1.fc38.i686 libevent-2.1.12-8.fc38.i686 libfdisk-2.38.1-4.fc38.i686 libffi-3.4.4-2.fc38.i686 libgcc-13.2.1-1.fc38.i686 libgomp-13.2.1-1.fc38.i686 libidn2-2.3.4-2.fc38.i686 libmount-2.38.1-4.fc38.i686 libnghttp2-1.52.0-1.fc38.i686 libnsl2-2.0.0-5.fc38.i686 libpkgconf-1.8.0-6.fc38.i686 libpsl-0.21.2-2.fc38.i686 libpwquality-1.4.5-3.fc38.i686 libselinux-3.5-1.fc38.i686 libsemanage-3.5-2.fc38.i686 libsepol-3.5-1.fc38.i686 libsigsegv-2.14-4.fc38.i686 libsmartcols-2.38.1-4.fc38.i686 libssh-0.10.5-1.fc38.i686 libssh-config-0.10.5-1.fc38.noarch libstdc++-13.2.1-1.fc38.i686 libtasn1-4.19.0-2.fc38.i686 libtirpc-1.3.3-1.rc2.fc38.i686 libunistring1.0-1.0-1.fc38.i686 libutempter-1.2.1-8.fc38.i686 libuuid-2.38.1-4.fc38.i686 libverto-0.3.2-5.fc38.i686 libxcrypt-4.4.36-1.fc38.i686 libxml2-2.10.4-1.fc38.i686 libzstd-1.5.5-1.fc38.i686 lua-libs-5.4.4-9.fc38.i686 lua-srpm-macros-1-8.fc38.noarch lz4-libs-1.9.4-2.fc38.i686 mpfr-4.1.1-3.fc38.i686 ncurses-base-6.4-3.20230114.fc38.noarch ncurses-libs-6.4-3.20230114.fc38.i686 ocaml-srpm-macros-7-3.fc38.noarch openblas-srpm-macros-2-13.fc38.noarch openldap-2.6.4-1.fc38.i686 openssl-libs-3.0.9-2.fc38.i686 p11-kit-0.25.0-1.fc38.i686 p11-kit-trust-0.25.0-1.fc38.i686 package-notes-srpm-macros-0.5-8.fc38.noarch pam-1.5.2-16.fc38.i686 pam-libs-1.5.2-16.fc38.i686 patch-2.7.6-19.fc38.i686 pcre2-10.42-1.fc38.1.i686 pcre2-syntax-10.42-1.fc38.1.noarch perl-srpm-macros-1-48.fc38.noarch pkgconf-1.8.0-6.fc38.i686 pkgconf-m4-1.8.0-6.fc38.noarch pkgconf-pkg-config-1.8.0-6.fc38.i686 popt-1.19-2.fc38.i686 publicsuffix-list-dafsa-20230812-1.fc38.noarch pyproject-srpm-macros-1.9.0-1.fc38.noarch python-srpm-macros-3.11-10.fc38.noarch qt5-srpm-macros-5.15.10-1.fc38.noarch readline-8.2-3.fc38.i686 redhat-rpm-config-252-1.fc38.noarch rpm-4.18.1-3.fc38.i686 rpm-build-4.18.1-3.fc38.i686 rpm-build-libs-4.18.1-3.fc38.i686 rpm-libs-4.18.1-3.fc38.i686 rpm-sequoia-1.5.0-1.fc38.i686 rpmautospec-rpm-macros-0.3.5-1.fc38.noarch rust-srpm-macros-24-5.fc38.noarch sed-4.8-12.fc38.i686 setup-2.14.3-2.fc38.noarch shadow-utils-4.13-6.fc38.i686 sqlite-libs-3.40.1-2.fc38.i686 systemd-libs-253.10-1.fc38.i686 tar-1.34-8.fc38.i686 tzdata-2023c-1.fc38.noarch unzip-6.0-60.fc38.i686 util-linux-2.38.1-4.fc38.i686 util-linux-core-2.38.1-4.fc38.i686 which-2.21-39.fc38.i686 xxhash-libs-0.8.2-1.fc38.i686 xz-5.4.1-1.fc38.i686 xz-libs-5.4.1-1.fc38.i686 zip-3.0-37.fc38.i686 zlib-1.2.13-3.fc38.i686 zstd-1.5.5-1.fc38.i686 Start: buildsrpm Start: rpmbuild -bs warning: %patchN is deprecated (6 usages found), use %patch N (or %patch -P N) Building target platforms: i686 Building for target i686 setting SOURCE_DATE_EPOCH=1557360000 Wrote: /builddir/build/SRPMS/mongodb-4.0.3-4.fc38.src.rpm RPM build warnings: %patchN is deprecated (6 usages found), use %patch N (or %patch -P N) Finish: rpmbuild -bs INFO: chroot_scan: 3 files copied to /var/lib/copr-rpmbuild/results/chroot_scan INFO: /var/lib/mock/fedora-38-i686-1695774146.879950/root/var/log/dnf.rpm.log /var/lib/mock/fedora-38-i686-1695774146.879950/root/var/log/dnf.librepo.log /var/lib/mock/fedora-38-i686-1695774146.879950/root/var/log/dnf.log Finish: buildsrpm INFO: Done(/var/lib/copr-rpmbuild/workspace/workdir-njxi2bgg/mongodb/mongodb.spec) Config(child) 0 minutes 34 seconds INFO: Results and/or logs in: /var/lib/copr-rpmbuild/results INFO: Cleaning up build root ('cleanup_on_success=True') Start: clean chroot INFO: unmounting tmpfs. Finish: clean chroot INFO: Start(/var/lib/copr-rpmbuild/results/mongodb-4.0.3-4.fc38.src.rpm) Config(fedora-38-i686) Start: chroot init INFO: mounting tmpfs at /var/lib/mock/fedora-38-i686-1695774146.879950/root. INFO: calling preinit hooks INFO: enabled root cache Start: unpacking root cache Finish: unpacking root cache INFO: enabled package manager cache Start: cleaning package manager metadata Finish: cleaning package manager metadata INFO: enabled HW Info plugin Finish: chroot init INFO: Buildroot is handled by package management from host and used with --installroot: rpm-4.18.1-3.fc38.x86_64 rpm-sequoia-1.4.0-3.fc38.x86_64 python3-dnf-4.16.2-1.fc38.noarch python3-dnf-plugins-core-4.4.2-1.fc38.noarch yum-4.16.2-1.fc38.noarch Start: build phase for mongodb-4.0.3-4.fc38.src.rpm Start: build setup for mongodb-4.0.3-4.fc38.src.rpm warning: %patchN is deprecated (6 usages found), use %patch N (or %patch -P N) Building target platforms: i686 Building for target i686 setting SOURCE_DATE_EPOCH=1557360000 Wrote: /builddir/build/SRPMS/mongodb-4.0.3-4.fc38.src.rpm RPM build warnings: %patchN is deprecated (6 usages found), use %patch N (or %patch -P N) No matches found for the following disable plugin patterns: local, spacewalk, versionlock Updating Subscription Management repositories. Unable to read consumer identity This system is not registered with an entitlement server. You can use subscription-manager to register. Copr repository 69 kB/s | 3.3 kB 00:00 local 60 kB/s | 3.8 kB 00:00 Dependencies resolved. ================================================================================ Package Arch Version Repo Size ================================================================================ Installing: boost-devel i686 1.78.0-14.fc38 local 11 M gcc-c++ i686 13.2.1-1.fc38 local 13 M gperftools-devel i686 2.9.1-5.fc38 local 392 k libcurl-devel i686 8.0.1-4.fc38 local 890 k libpcap-devel i686 14:1.10.4-1.fc38 local 144 k libstemmer-devel i686 2.2.0-5.fc38 local 10 k openssl-devel i686 1:3.0.9-2.fc38 local 2.5 M pcre-devel i686 8.45-1.fc38.3 local 470 k python3-cheetah i686 3.2.6.post1-4.fc38 local 400 k python3-devel i686 3.11.5-1.fc38 local 235 k python3-pyyaml i686 6.0-6.fc38 local 211 k python3-requests noarch 2.28.2-2.fc38 local 144 k python3-scons noarch 4.4.0-3.fc38 local 2.5 M snappy-devel i686 1.1.9-7.fc38 local 21 k systemd i686 253.10-1.fc38 local 4.5 M valgrind-devel i686 1:3.21.0-6.fc38 local 48 k yaml-cpp-devel i686 0.7.0-3.fc38 local 34 k zlib-devel i686 1.2.13-3.fc38 local 45 k Installing dependencies: annobin-docs noarch 12.26-1.fc38 local 92 k annobin-plugin-gcc i686 12.26-1.fc38 local 957 k boost i686 1.78.0-14.fc38 local 12 k boost-atomic i686 1.78.0-14.fc38 local 18 k boost-chrono i686 1.78.0-14.fc38 local 26 k boost-container i686 1.78.0-14.fc38 local 38 k boost-context i686 1.78.0-14.fc38 local 15 k boost-contract i686 1.78.0-14.fc38 local 48 k boost-coroutine i686 1.78.0-14.fc38 local 21 k boost-date-time i686 1.78.0-14.fc38 local 14 k boost-fiber i686 1.78.0-14.fc38 local 43 k boost-filesystem i686 1.78.0-14.fc38 local 69 k boost-graph i686 1.78.0-14.fc38 local 157 k boost-iostreams i686 1.78.0-14.fc38 local 43 k boost-json i686 1.78.0-14.fc38 local 120 k boost-locale i686 1.78.0-14.fc38 local 241 k boost-log i686 1.78.0-14.fc38 local 530 k boost-math i686 1.78.0-14.fc38 local 200 k boost-nowide i686 1.78.0-14.fc38 local 19 k boost-numpy3 i686 1.78.0-14.fc38 local 29 k boost-program-options i686 1.78.0-14.fc38 local 116 k boost-python3 i686 1.78.0-14.fc38 local 101 k boost-random i686 1.78.0-14.fc38 local 25 k boost-regex i686 1.78.0-14.fc38 local 114 k boost-serialization i686 1.78.0-14.fc38 local 143 k boost-stacktrace i686 1.78.0-14.fc38 local 29 k boost-system i686 1.78.0-14.fc38 local 14 k boost-test i686 1.78.0-14.fc38 local 255 k boost-thread i686 1.78.0-14.fc38 local 63 k boost-timer i686 1.78.0-14.fc38 local 25 k boost-type_erasure i686 1.78.0-14.fc38 local 34 k boost-wave i686 1.78.0-14.fc38 local 227 k cmake-filesystem i686 3.27.4-7.fc38 local 19 k cpp i686 13.2.1-1.fc38 local 11 M dbus i686 1:1.14.10-1.fc38 local 8.0 k dbus-broker i686 33-1.fc38 local 180 k dbus-common noarch 1:1.14.10-1.fc38 local 15 k expat i686 2.5.0-2.fc38 local 115 k flexiblas i686 3.3.1-5.fc38 local 33 k flexiblas-netlib i686 3.3.1-5.fc38 local 3.1 M flexiblas-openblas-openmp i686 3.3.1-5.fc38 local 17 k gc i686 8.2.2-3.fc38 local 112 k gcc i686 13.2.1-1.fc38 local 34 M gcc-plugin-annobin i686 13.2.1-1.fc38 local 47 k glibc-devel i686 2.37-5.fc38 local 49 k glibc-headers-x86 noarch 2.37-5.fc38 local 458 k gperftools-libs i686 2.9.1-5.fc38 local 315 k groff-base i686 1.22.4-11.fc38 local 1.0 M guile22 i686 2.2.7-7.fc38 local 6.5 M infiniband-diags i686 44.0-3.fc38 local 327 k kernel-headers i686 6.4.4-200.fc38 local 1.4 M kmod-libs i686 30-4.fc38 local 75 k libasan i686 13.2.1-1.fc38 local 506 k libatomic i686 13.2.1-1.fc38 local 32 k libb2 i686 0.98.1-8.fc38 local 29 k libgfortran i686 13.2.1-1.fc38 local 838 k libibumad i686 44.0-3.fc38 local 27 k libibverbs i686 44.0-3.fc38 local 462 k libicu i686 72.1-2.fc38 local 11 M libicu-devel i686 72.1-2.fc38 local 845 k libmpc i686 1.3.1-2.fc38 local 77 k libnl3 i686 3.7.0-3.fc38 local 373 k libpcap i686 14:1.10.4-1.fc38 local 182 k libquadmath i686 13.2.1-1.fc38 local 241 k libquadmath-devel i686 13.2.1-1.fc38 local 36 k librdmacm i686 44.0-3.fc38 local 77 k libseccomp i686 2.5.3-4.fc38 local 73 k libstdc++-devel i686 13.2.1-1.fc38 local 2.5 M libstemmer i686 2.2.0-5.fc38 local 156 k libtool-ltdl i686 2.4.7-6.fc38 local 39 k libubsan i686 13.2.1-1.fc38 local 234 k libunwind i686 1.6.2-7.fc38 local 66 k libxcrypt-devel i686 4.4.36-1.fc38 local 29 k libyaml i686 0.2.5-9.fc38 local 62 k make i686 1:4.4.1-1.fc38 local 589 k mpdecimal i686 2.5.1-6.fc38 local 91 k ncurses i686 6.4-3.20230114.fc38 local 409 k openblas i686 0.3.21-4.fc38 local 35 k openblas-openmp i686 0.3.21-4.fc38 local 3.8 M pcre i686 8.45-1.fc38.3 local 198 k pcre-cpp i686 8.45-1.fc38.3 local 27 k pcre-utf16 i686 8.45-1.fc38.3 local 185 k pcre-utf32 i686 8.45-1.fc38.3 local 174 k perl-AutoLoader noarch 5.74-497.fc38 local 22 k perl-B i686 1.83-497.fc38 local 187 k perl-Carp noarch 1.52-490.fc38 local 29 k perl-Class-Struct noarch 0.66-497.fc38 local 23 k perl-Data-Dumper i686 2.184-491.fc38 local 58 k perl-Digest noarch 1.20-490.fc38 local 25 k perl-Digest-MD5 i686 2.58-490.fc38 local 37 k perl-DynaLoader i686 1.52-497.fc38 local 27 k perl-Encode i686 4:3.19-493.fc38 local 1.2 M perl-Errno i686 1.36-497.fc38 local 16 k perl-Exporter noarch 5.77-490.fc38 local 31 k perl-Fcntl i686 1.15-497.fc38 local 22 k perl-File-Basename noarch 2.85-497.fc38 local 18 k perl-File-Path noarch 2.18-490.fc38 local 35 k perl-File-Temp noarch 1:0.231.100-490.fc38 local 59 k perl-File-stat noarch 1.12-497.fc38 local 18 k perl-FileHandle noarch 2.03-497.fc38 local 17 k perl-Getopt-Long noarch 1:2.54-2.fc38 local 60 k perl-Getopt-Std noarch 1.13-497.fc38 local 17 k perl-HTTP-Tiny noarch 0.086-2.fc38 local 55 k perl-IO i686 1.50-497.fc38 local 89 k perl-IO-Socket-IP noarch 0.41-492.fc38 local 41 k perl-IO-Socket-SSL noarch 2.081-1.fc38 local 223 k perl-IPC-Open3 noarch 1.22-497.fc38 local 24 k perl-MIME-Base64 i686 3.16-490.fc38 local 30 k perl-Mozilla-CA noarch 20221114-2.fc38 local 12 k perl-Net-SSLeay i686 1.92-5.fc38 local 352 k perl-POSIX i686 2.03-497.fc38 local 103 k perl-PathTools i686 3.84-490.fc38 local 83 k perl-Pod-Escapes noarch 1:1.07-490.fc38 local 20 k perl-Pod-Perldoc noarch 3.28.01-491.fc38 local 80 k perl-Pod-Simple noarch 1:3.43-491.fc38 local 209 k perl-Pod-Usage noarch 4:2.03-4.fc38 local 40 k perl-Scalar-List-Utils i686 5:1.63-490.fc38 local 75 k perl-SelectSaver noarch 1.02-497.fc38 local 13 k perl-Socket i686 4:2.036-2.fc38 local 56 k perl-Storable i686 1:3.26-490.fc38 local 99 k perl-Symbol noarch 1.09-497.fc38 local 15 k perl-Term-ANSIColor noarch 5.01-491.fc38 local 47 k perl-Term-Cap noarch 1.18-1.fc38 local 22 k perl-Text-ParseWords noarch 3.31-490.fc38 local 16 k perl-Text-Tabs+Wrap noarch 2023.0511-1.fc38 local 22 k perl-Time-Local noarch 2:1.300-490.fc38 local 33 k perl-URI noarch 5.17-2.fc38 local 108 k perl-base noarch 2.27-497.fc38 local 17 k perl-constant noarch 1.33-491.fc38 local 23 k perl-if noarch 0.61.000-497.fc38 local 15 k perl-interpreter i686 4:5.36.1-497.fc38 local 73 k perl-libnet noarch 3.15-1.fc38 local 122 k perl-libs i686 4:5.36.1-497.fc38 local 2.2 M perl-locale noarch 1.10-497.fc38 local 15 k perl-mro i686 1.26-497.fc38 local 31 k perl-overload noarch 1.35-497.fc38 local 47 k perl-overloading noarch 0.02-497.fc38 local 14 k perl-parent noarch 1:0.241-1.fc38 local 15 k perl-podlators noarch 1:5.01-2.fc38 local 121 k perl-vars noarch 1.05-497.fc38 local 14 k pyproject-rpm-macros noarch 1.9.0-1.fc38 local 42 k python-pip-wheel noarch 22.3.1-3.fc38 local 1.4 M python-rpm-macros noarch 3.11-10.fc38 local 20 k python-setuptools-wheel noarch 65.5.1-2.fc38 local 715 k python3 i686 3.11.5-1.fc38 local 28 k python3-charset-normalizer noarch 3.1.0-1.fc38 local 99 k python3-idna noarch 3.4-2.fc38 local 104 k python3-libs i686 3.11.5-1.fc38 local 9.3 M python3-numpy i686 1:1.24.4-1.fc38 local 7.1 M python3-packaging noarch 23.0-1.fc38 local 97 k python3-pysocks noarch 1.7.1-16.fc38 local 40 k python3-rpm-generators noarch 14-4.fc38 local 30 k python3-rpm-macros noarch 3.11-10.fc38 local 15 k python3-setuptools noarch 65.5.1-2.fc38 local 1.5 M python3-six noarch 1.16.0-9.fc38 local 42 k python3-urllib3 noarch 1.26.16-1.fc38 local 237 k python3-urllib3+socks noarch 1.26.16-1.fc38 local 9.7 k rdma-core-devel i686 44.0-3.fc38 local 374 k snappy i686 1.1.9-7.fc38 local 37 k systemd-pam i686 253.10-1.fc38 local 353 k systemd-rpm-macros noarch 253.10-1.fc38 local 28 k valgrind i686 1:3.21.0-6.fc38 local 4.4 M yaml-cpp i686 0.7.0-3.fc38 local 135 k Transaction Summary ================================================================================ Install 181 Packages Total download size: 155 M Installed size: 657 M Downloading Packages: (1/181): boost-1.78.0-14.fc38.i686.rpm 129 kB/s | 12 kB 00:00 (2/181): annobin-docs-12.26-1.fc38.noarch.rpm 836 kB/s | 92 kB 00:00 (3/181): boost-atomic-1.78.0-14.fc38.i686.rpm 744 kB/s | 18 kB 00:00 (4/181): annobin-plugin-gcc-12.26-1.fc38.i686.r 7.0 MB/s | 957 kB 00:00 (5/181): boost-container-1.78.0-14.fc38.i686.rp 1.0 MB/s | 38 kB 00:00 (6/181): boost-chrono-1.78.0-14.fc38.i686.rpm 560 kB/s | 26 kB 00:00 (7/181): boost-context-1.78.0-14.fc38.i686.rpm 461 kB/s | 15 kB 00:00 (8/181): boost-date-time-1.78.0-14.fc38.i686.rp 1.0 MB/s | 14 kB 00:00 (9/181): boost-coroutine-1.78.0-14.fc38.i686.rp 837 kB/s | 21 kB 00:00 (10/181): boost-contract-1.78.0-14.fc38.i686.rp 1.4 MB/s | 48 kB 00:00 (11/181): boost-fiber-1.78.0-14.fc38.i686.rpm 1.5 MB/s | 43 kB 00:00 (12/181): boost-filesystem-1.78.0-14.fc38.i686. 2.3 MB/s | 69 kB 00:00 (13/181): boost-iostreams-1.78.0-14.fc38.i686.r 1.4 MB/s | 43 kB 00:00 (14/181): boost-graph-1.78.0-14.fc38.i686.rpm 2.9 MB/s | 157 kB 00:00 (15/181): boost-json-1.78.0-14.fc38.i686.rpm 4.0 MB/s | 120 kB 00:00 (16/181): boost-locale-1.78.0-14.fc38.i686.rpm 6.2 MB/s | 241 kB 00:00 (17/181): boost-log-1.78.0-14.fc38.i686.rpm 5.2 MB/s | 530 kB 00:00 (18/181): boost-math-1.78.0-14.fc38.i686.rpm 2.2 MB/s | 200 kB 00:00 (19/181): boost-nowide-1.78.0-14.fc38.i686.rpm 1.3 MB/s | 19 kB 00:00 (20/181): boost-numpy3-1.78.0-14.fc38.i686.rpm 740 kB/s | 29 kB 00:00 (21/181): boost-program-options-1.78.0-14.fc38. 1.9 MB/s | 116 kB 00:00 (22/181): boost-random-1.78.0-14.fc38.i686.rpm 1.0 MB/s | 25 kB 00:00 (23/181): boost-python3-1.78.0-14.fc38.i686.rpm 1.5 MB/s | 101 kB 00:00 (24/181): boost-regex-1.78.0-14.fc38.i686.rpm 2.3 MB/s | 114 kB 00:00 (25/181): boost-serialization-1.78.0-14.fc38.i6 3.2 MB/s | 143 kB 00:00 (26/181): boost-system-1.78.0-14.fc38.i686.rpm 637 kB/s | 14 kB 00:00 (27/181): boost-stacktrace-1.78.0-14.fc38.i686. 774 kB/s | 29 kB 00:00 (28/181): boost-thread-1.78.0-14.fc38.i686.rpm 2.7 MB/s | 63 kB 00:00 (29/181): boost-test-1.78.0-14.fc38.i686.rpm 5.9 MB/s | 255 kB 00:00 (30/181): boost-type_erasure-1.78.0-14.fc38.i68 2.4 MB/s | 34 kB 00:00 (31/181): boost-timer-1.78.0-14.fc38.i686.rpm 615 kB/s | 25 kB 00:00 (32/181): cmake-filesystem-3.27.4-7.fc38.i686.r 758 kB/s | 19 kB 00:00 (33/181): boost-wave-1.78.0-14.fc38.i686.rpm 5.3 MB/s | 227 kB 00:00 (34/181): dbus-1.14.10-1.fc38.i686.rpm 274 kB/s | 8.0 kB 00:00 (35/181): dbus-broker-33-1.fc38.i686.rpm 3.7 MB/s | 180 kB 00:00 (36/181): dbus-common-1.14.10-1.fc38.noarch.rpm 1.1 MB/s | 15 kB 00:00 (37/181): expat-2.5.0-2.fc38.i686.rpm 2.5 MB/s | 115 kB 00:00 (38/181): flexiblas-3.3.1-5.fc38.i686.rpm 598 kB/s | 33 kB 00:00 (39/181): boost-devel-1.78.0-14.fc38.i686.rpm 12 MB/s | 11 MB 00:00 (40/181): flexiblas-openblas-openmp-3.3.1-5.fc3 809 kB/s | 17 kB 00:00 (41/181): gc-8.2.2-3.fc38.i686.rpm 4.0 MB/s | 112 kB 00:00 (42/181): flexiblas-netlib-3.3.1-5.fc38.i686.rp 7.9 MB/s | 3.1 MB 00:00 (43/181): cpp-13.2.1-1.fc38.i686.rpm 13 MB/s | 11 MB 00:00 (44/181): gcc-plugin-annobin-13.2.1-1.fc38.i686 1.9 MB/s | 47 kB 00:00 (45/181): glibc-devel-2.37-5.fc38.i686.rpm 1.4 MB/s | 49 kB 00:00 (46/181): glibc-headers-x86-2.37-5.fc38.noarch. 11 MB/s | 458 kB 00:00 (47/181): gperftools-devel-2.9.1-5.fc38.i686.rp 6.1 MB/s | 392 kB 00:00 (48/181): gperftools-libs-2.9.1-5.fc38.i686.rpm 6.4 MB/s | 315 kB 00:00 (49/181): groff-base-1.22.4-11.fc38.i686.rpm 8.6 MB/s | 1.0 MB 00:00 (50/181): gcc-c++-13.2.1-1.fc38.i686.rpm 14 MB/s | 13 MB 00:00 (51/181): infiniband-diags-44.0-3.fc38.i686.rpm 4.4 MB/s | 327 kB 00:00 (52/181): kernel-headers-6.4.4-200.fc38.i686.rp 15 MB/s | 1.4 MB 00:00 (53/181): kmod-libs-30-4.fc38.i686.rpm 2.0 MB/s | 75 kB 00:00 (54/181): libasan-13.2.1-1.fc38.i686.rpm 11 MB/s | 506 kB 00:00 (55/181): libatomic-13.2.1-1.fc38.i686.rpm 1.9 MB/s | 32 kB 00:00 (56/181): libb2-0.98.1-8.fc38.i686.rpm 2.3 MB/s | 29 kB 00:00 (57/181): guile22-2.2.7-7.fc38.i686.rpm 11 MB/s | 6.5 MB 00:00 (58/181): libcurl-devel-8.0.1-4.fc38.i686.rpm 11 MB/s | 890 kB 00:00 (59/181): libibumad-44.0-3.fc38.i686.rpm 724 kB/s | 27 kB 00:00 (60/181): libgfortran-13.2.1-1.fc38.i686.rpm 7.5 MB/s | 838 kB 00:00 (61/181): libibverbs-44.0-3.fc38.i686.rpm 5.7 MB/s | 462 kB 00:00 (62/181): libicu-devel-72.1-2.fc38.i686.rpm 11 MB/s | 845 kB 00:00 (63/181): libmpc-1.3.1-2.fc38.i686.rpm 4.2 MB/s | 77 kB 00:00 (64/181): libnl3-3.7.0-3.fc38.i686.rpm 5.7 MB/s | 373 kB 00:00 (65/181): libpcap-1.10.4-1.fc38.i686.rpm 5.4 MB/s | 182 kB 00:00 (66/181): libpcap-devel-1.10.4-1.fc38.i686.rpm 2.6 MB/s | 144 kB 00:00 (67/181): libquadmath-13.2.1-1.fc38.i686.rpm 6.2 MB/s | 241 kB 00:00 (68/181): libquadmath-devel-13.2.1-1.fc38.i686. 598 kB/s | 36 kB 00:00 (69/181): librdmacm-44.0-3.fc38.i686.rpm 1.7 MB/s | 77 kB 00:00 (70/181): libseccomp-2.5.3-4.fc38.i686.rpm 1.4 MB/s | 73 kB 00:00 (71/181): libstdc++-devel-13.2.1-1.fc38.i686.rp 18 MB/s | 2.5 MB 00:00 (72/181): libstemmer-2.2.0-5.fc38.i686.rpm 4.6 MB/s | 156 kB 00:00 (73/181): libstemmer-devel-2.2.0-5.fc38.i686.rp 501 kB/s | 10 kB 00:00 (74/181): libtool-ltdl-2.4.7-6.fc38.i686.rpm 3.2 MB/s | 39 kB 00:00 (75/181): libubsan-13.2.1-1.fc38.i686.rpm 3.0 MB/s | 234 kB 00:00 (76/181): libunwind-1.6.2-7.fc38.i686.rpm 1.7 MB/s | 66 kB 00:00 (77/181): libxcrypt-devel-4.4.36-1.fc38.i686.rp 1.2 MB/s | 29 kB 00:00 (78/181): libyaml-0.2.5-9.fc38.i686.rpm 5.1 MB/s | 62 kB 00:00 (79/181): make-4.4.1-1.fc38.i686.rpm 15 MB/s | 589 kB 00:00 (80/181): mpdecimal-2.5.1-6.fc38.i686.rpm 5.3 MB/s | 91 kB 00:00 (81/181): libicu-72.1-2.fc38.i686.rpm 11 MB/s | 11 MB 00:00 (82/181): ncurses-6.4-3.20230114.fc38.i686.rpm 7.4 MB/s | 409 kB 00:00 (83/181): openblas-0.3.21-4.fc38.i686.rpm 652 kB/s | 35 kB 00:00 (84/181): openblas-openmp-0.3.21-4.fc38.i686.rp 20 MB/s | 3.8 MB 00:00 (85/181): pcre-8.45-1.fc38.3.i686.rpm 1.6 MB/s | 198 kB 00:00 (86/181): pcre-cpp-8.45-1.fc38.3.i686.rpm 915 kB/s | 27 kB 00:00 (87/181): openssl-devel-3.0.9-2.fc38.i686.rpm 7.6 MB/s | 2.5 MB 00:00 (88/181): gcc-13.2.1-1.fc38.i686.rpm 12 MB/s | 34 MB 00:02 (89/181): pcre-devel-8.45-1.fc38.3.i686.rpm 5.7 MB/s | 470 kB 00:00 (90/181): pcre-utf16-8.45-1.fc38.3.i686.rpm 3.6 MB/s | 185 kB 00:00 (91/181): perl-AutoLoader-5.74-497.fc38.noarch. 948 kB/s | 22 kB 00:00 (92/181): perl-Carp-1.52-490.fc38.noarch.rpm 1.8 MB/s | 29 kB 00:00 (93/181): perl-B-1.83-497.fc38.i686.rpm 4.4 MB/s | 187 kB 00:00 (94/181): perl-Class-Struct-0.66-497.fc38.noarc 2.0 MB/s | 23 kB 00:00 (95/181): pcre-utf32-8.45-1.fc38.3.i686.rpm 2.5 MB/s | 174 kB 00:00 (96/181): perl-Digest-1.20-490.fc38.noarch.rpm 1.4 MB/s | 25 kB 00:00 (97/181): perl-Data-Dumper-2.184-491.fc38.i686. 1.5 MB/s | 58 kB 00:00 (98/181): perl-Digest-MD5-2.58-490.fc38.i686.rp 947 kB/s | 37 kB 00:00 (99/181): perl-DynaLoader-1.52-497.fc38.i686.rp 653 kB/s | 27 kB 00:00 (100/181): perl-Errno-1.36-497.fc38.i686.rpm 462 kB/s | 16 kB 00:00 (101/181): perl-Exporter-5.77-490.fc38.noarch.r 1.5 MB/s | 31 kB 00:00 (102/181): perl-File-Basename-2.85-497.fc38.noa 886 kB/s | 18 kB 00:00 (103/181): perl-Fcntl-1.15-497.fc38.i686.rpm 429 kB/s | 22 kB 00:00 (104/181): perl-File-Path-2.18-490.fc38.noarch. 1.1 MB/s | 35 kB 00:00 (105/181): perl-File-stat-1.12-497.fc38.noarch. 864 kB/s | 18 kB 00:00 (106/181): perl-File-Temp-0.231.100-490.fc38.no 1.3 MB/s | 59 kB 00:00 (107/181): perl-FileHandle-2.03-497.fc38.noarch 593 kB/s | 17 kB 00:00 (108/181): perl-Encode-3.19-493.fc38.i686.rpm 7.3 MB/s | 1.2 MB 00:00 (109/181): perl-Getopt-Std-1.13-497.fc38.noarch 981 kB/s | 17 kB 00:00 (110/181): perl-Getopt-Long-2.54-2.fc38.noarch. 1.9 MB/s | 60 kB 00:00 (111/181): perl-HTTP-Tiny-0.086-2.fc38.noarch.r 3.2 MB/s | 55 kB 00:00 (112/181): perl-IO-Socket-IP-0.41-492.fc38.noar 1.8 MB/s | 41 kB 00:00 (113/181): perl-IO-1.50-497.fc38.i686.rpm 3.2 MB/s | 89 kB 00:00 (114/181): perl-IO-Socket-SSL-2.081-1.fc38.noar 7.8 MB/s | 223 kB 00:00 (115/181): perl-IPC-Open3-1.22-497.fc38.noarch. 1.4 MB/s | 24 kB 00:00 (116/181): perl-MIME-Base64-3.16-490.fc38.i686. 1.4 MB/s | 30 kB 00:00 (117/181): perl-Mozilla-CA-20221114-2.fc38.noar 718 kB/s | 12 kB 00:00 (118/181): perl-POSIX-2.03-497.fc38.i686.rpm 3.1 MB/s | 103 kB 00:00 (119/181): perl-PathTools-3.84-490.fc38.i686.rp 3.1 MB/s | 83 kB 00:00 (120/181): perl-Pod-Escapes-1.07-490.fc38.noarc 1.3 MB/s | 20 kB 00:00 (121/181): perl-Net-SSLeay-1.92-5.fc38.i686.rpm 6.4 MB/s | 352 kB 00:00 (122/181): perl-Pod-Perldoc-3.28.01-491.fc38.no 4.1 MB/s | 80 kB 00:00 (123/181): perl-Pod-Simple-3.43-491.fc38.noarch 9.2 MB/s | 209 kB 00:00 (124/181): perl-Pod-Usage-2.03-4.fc38.noarch.rp 1.5 MB/s | 40 kB 00:00 (125/181): perl-SelectSaver-1.02-497.fc38.noarc 997 kB/s | 13 kB 00:00 (126/181): perl-Socket-2.036-2.fc38.i686.rpm 1.9 MB/s | 56 kB 00:00 (127/181): perl-Scalar-List-Utils-1.63-490.fc38 1.5 MB/s | 75 kB 00:00 (128/181): perl-Storable-3.26-490.fc38.i686.rpm 3.5 MB/s | 99 kB 00:00 (129/181): perl-Symbol-1.09-497.fc38.noarch.rpm 748 kB/s | 15 kB 00:00 (130/181): perl-Term-Cap-1.18-1.fc38.noarch.rpm 1.4 MB/s | 22 kB 00:00 (131/181): perl-Term-ANSIColor-5.01-491.fc38.no 2.0 MB/s | 47 kB 00:00 (132/181): perl-Text-Tabs+Wrap-2023.0511-1.fc38 1.4 MB/s | 22 kB 00:00 (133/181): perl-Text-ParseWords-3.31-490.fc38.n 909 kB/s | 16 kB 00:00 (134/181): perl-Time-Local-1.300-490.fc38.noarc 1.9 MB/s | 33 kB 00:00 (135/181): perl-base-2.27-497.fc38.noarch.rpm 1.4 MB/s | 17 kB 00:00 (136/181): perl-URI-5.17-2.fc38.noarch.rpm 6.4 MB/s | 108 kB 00:00 (137/181): perl-constant-1.33-491.fc38.noarch.r 1.1 MB/s | 23 kB 00:00 (138/181): perl-if-0.61.000-497.fc38.noarch.rpm 618 kB/s | 15 kB 00:00 (139/181): perl-interpreter-5.36.1-497.fc38.i68 3.2 MB/s | 73 kB 00:00 (140/181): perl-libnet-3.15-1.fc38.noarch.rpm 5.5 MB/s | 122 kB 00:00 (141/181): perl-locale-1.10-497.fc38.noarch.rpm 1.0 MB/s | 15 kB 00:00 (142/181): perl-mro-1.26-497.fc38.i686.rpm 1.9 MB/s | 31 kB 00:00 (143/181): perl-overload-1.35-497.fc38.noarch.r 3.4 MB/s | 47 kB 00:00 (144/181): perl-overloading-0.02-497.fc38.noarc 1.1 MB/s | 14 kB 00:00 (145/181): perl-parent-0.241-1.fc38.noarch.rpm 777 kB/s | 15 kB 00:00 (146/181): perl-vars-1.05-497.fc38.noarch.rpm 1.3 MB/s | 14 kB 00:00 (147/181): perl-podlators-5.01-2.fc38.noarch.rp 5.7 MB/s | 121 kB 00:00 (148/181): pyproject-rpm-macros-1.9.0-1.fc38.no 1.4 MB/s | 42 kB 00:00 (149/181): python-rpm-macros-3.11-10.fc38.noarc 1.8 MB/s | 20 kB 00:00 (150/181): python-setuptools-wheel-65.5.1-2.fc3 20 MB/s | 715 kB 00:00 (151/181): perl-libs-5.36.1-497.fc38.i686.rpm 16 MB/s | 2.2 MB 00:00 (152/181): python3-3.11.5-1.fc38.i686.rpm 1.9 MB/s | 28 kB 00:00 (153/181): python3-charset-normalizer-3.1.0-1.f 6.2 MB/s | 99 kB 00:00 (154/181): python-pip-wheel-22.3.1-3.fc38.noarc 14 MB/s | 1.4 MB 00:00 (155/181): python3-idna-3.4-2.fc38.noarch.rpm 6.6 MB/s | 104 kB 00:00 (156/181): python3-devel-3.11.5-1.fc38.i686.rpm 7.5 MB/s | 235 kB 00:00 (157/181): python3-cheetah-3.2.6.post1-4.fc38.i 7.9 MB/s | 400 kB 00:00 (158/181): python3-packaging-23.0-1.fc38.noarch 6.1 MB/s | 97 kB 00:00 (159/181): python3-pysocks-1.7.1-16.fc38.noarch 2.8 MB/s | 40 kB 00:00 (160/181): python3-pyyaml-6.0-6.fc38.i686.rpm 4.6 MB/s | 211 kB 00:00 (161/181): python3-requests-2.28.2-2.fc38.noarc 6.6 MB/s | 144 kB 00:00 (162/181): python3-rpm-generators-14-4.fc38.noa 2.1 MB/s | 30 kB 00:00 (163/181): python3-rpm-macros-3.11-10.fc38.noar 1.3 MB/s | 15 kB 00:00 (164/181): python3-scons-4.4.0-3.fc38.noarch.rp 20 MB/s | 2.5 MB 00:00 (165/181): python3-setuptools-65.5.1-2.fc38.noa 20 MB/s | 1.5 MB 00:00 (166/181): python3-numpy-1.24.4-1.fc38.i686.rpm 21 MB/s | 7.1 MB 00:00 (167/181): python3-six-1.16.0-9.fc38.noarch.rpm 4.2 MB/s | 42 kB 00:00 (168/181): python3-urllib3+socks-1.26.16-1.fc38 682 kB/s | 9.7 kB 00:00 (169/181): python3-urllib3-1.26.16-1.fc38.noarc 11 MB/s | 237 kB 00:00 (170/181): rdma-core-devel-44.0-3.fc38.i686.rpm 8.7 MB/s | 374 kB 00:00 (171/181): snappy-1.1.9-7.fc38.i686.rpm 766 kB/s | 37 kB 00:00 (172/181): python3-libs-3.11.5-1.fc38.i686.rpm 21 MB/s | 9.3 MB 00:00 (173/181): snappy-devel-1.1.9-7.fc38.i686.rpm 500 kB/s | 21 kB 00:00 (174/181): systemd-rpm-macros-253.10-1.fc38.noa 1.1 MB/s | 28 kB 00:00 (175/181): systemd-pam-253.10-1.fc38.i686.rpm 4.1 MB/s | 353 kB 00:00 (176/181): valgrind-devel-3.21.0-6.fc38.i686.rp 787 kB/s | 48 kB 00:00 (177/181): yaml-cpp-0.7.0-3.fc38.i686.rpm 3.5 MB/s | 135 kB 00:00 (178/181): systemd-253.10-1.fc38.i686.rpm 22 MB/s | 4.5 MB 00:00 (179/181): yaml-cpp-devel-0.7.0-3.fc38.i686.rpm 1.4 MB/s | 34 kB 00:00 (180/181): zlib-devel-1.2.13-3.fc38.i686.rpm 813 kB/s | 45 kB 00:00 (181/181): valgrind-3.21.0-6.fc38.i686.rpm 20 MB/s | 4.4 MB 00:00 -------------------------------------------------------------------------------- Total 29 MB/s | 155 MB 00:05 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Installing : python-rpm-macros-3.11-10.fc38.noarch 1/181 Installing : python3-rpm-macros-3.11-10.fc38.noarch 2/181 Installing : libstdc++-devel-13.2.1-1.fc38.i686 3/181 Installing : cmake-filesystem-3.27.4-7.fc38.i686 4/181 Installing : pyproject-rpm-macros-1.9.0-1.fc38.noarch 5/181 Installing : python-setuptools-wheel-65.5.1-2.fc38.noarch 6/181 Installing : python-pip-wheel-22.3.1-3.fc38.noarch 7/181 Installing : openblas-0.3.21-4.fc38.i686 8/181 Installing : kernel-headers-6.4.4-200.fc38.i686 9/181 Installing : glibc-headers-x86-2.37-5.fc38.noarch 10/181 Installing : libxcrypt-devel-4.4.36-1.fc38.i686 11/181 Installing : glibc-devel-2.37-5.fc38.i686 12/181 Installing : dbus-common-1:1.14.10-1.fc38.noarch 13/181 Running scriptlet: dbus-common-1:1.14.10-1.fc38.noarch 13/181 Installing : annobin-docs-12.26-1.fc38.noarch 14/181 Installing : boost-system-1.78.0-14.fc38.i686 15/181 Installing : boost-chrono-1.78.0-14.fc38.i686 16/181 Installing : boost-thread-1.78.0-14.fc38.i686 17/181 Installing : libicu-72.1-2.fc38.i686 18/181 Installing : boost-regex-1.78.0-14.fc38.i686 19/181 Installing : libmpc-1.3.1-2.fc38.i686 20/181 Installing : boost-context-1.78.0-14.fc38.i686 21/181 Installing : boost-atomic-1.78.0-14.fc38.i686 22/181 Installing : boost-filesystem-1.78.0-14.fc38.i686 23/181 Installing : pcre-8.45-1.fc38.3.i686 24/181 Installing : libquadmath-13.2.1-1.fc38.i686 25/181 Installing : libnl3-3.7.0-3.fc38.i686 26/181 Installing : libibverbs-44.0-3.fc38.i686 27/181 Installing : libibumad-44.0-3.fc38.i686 28/181 Installing : libgfortran-13.2.1-1.fc38.i686 29/181 Installing : expat-2.5.0-2.fc38.i686 30/181 Installing : boost-date-time-1.78.0-14.fc38.i686 31/181 Installing : boost-container-1.78.0-14.fc38.i686 32/181 Installing : boost-json-1.78.0-14.fc38.i686 33/181 Installing : boost-wave-1.78.0-14.fc38.i686 34/181 Running scriptlet: dbus-broker-33-1.fc38.i686 35/181 Installing : dbus-broker-33-1.fc38.i686 35/181 Running scriptlet: dbus-broker-33-1.fc38.i686 35/181 Installing : dbus-1:1.14.10-1.fc38.i686 36/181 Installing : openblas-openmp-0.3.21-4.fc38.i686 37/181 Installing : flexiblas-netlib-3.3.1-5.fc38.i686 38/181 Installing : flexiblas-openblas-openmp-3.3.1-5.fc38.i686 39/181 Installing : flexiblas-3.3.1-5.fc38.i686 40/181 Installing : libpcap-14:1.10.4-1.fc38.i686 41/181 Installing : librdmacm-44.0-3.fc38.i686 42/181 Installing : pcre-cpp-8.45-1.fc38.3.i686 43/181 Installing : boost-fiber-1.78.0-14.fc38.i686 44/181 Installing : boost-log-1.78.0-14.fc38.i686 45/181 Installing : boost-coroutine-1.78.0-14.fc38.i686 46/181 Installing : cpp-13.2.1-1.fc38.i686 47/181 Installing : boost-graph-1.78.0-14.fc38.i686 48/181 Installing : boost-locale-1.78.0-14.fc38.i686 49/181 Installing : libicu-devel-72.1-2.fc38.i686 50/181 Installing : boost-type_erasure-1.78.0-14.fc38.i686 51/181 Installing : boost-timer-1.78.0-14.fc38.i686 52/181 Installing : yaml-cpp-0.7.0-3.fc38.i686 53/181 Installing : snappy-1.1.9-7.fc38.i686 54/181 Installing : pcre-utf32-8.45-1.fc38.3.i686 55/181 Installing : pcre-utf16-8.45-1.fc38.3.i686 56/181 Installing : ncurses-6.4-3.20230114.fc38.i686 57/181 Installing : mpdecimal-2.5.1-6.fc38.i686 58/181 Installing : libyaml-0.2.5-9.fc38.i686 59/181 Installing : libunwind-1.6.2-7.fc38.i686 60/181 Installing : gperftools-libs-2.9.1-5.fc38.i686 61/181 Installing : libubsan-13.2.1-1.fc38.i686 62/181 Installing : libtool-ltdl-2.4.7-6.fc38.i686 63/181 Installing : libstemmer-2.2.0-5.fc38.i686 64/181 Installing : libseccomp-2.5.3-4.fc38.i686 65/181 Installing : libb2-0.98.1-8.fc38.i686 66/181 Installing : python3-3.11.5-1.fc38.i686 67/181 Installing : python3-libs-3.11.5-1.fc38.i686 68/181 Installing : python3-idna-3.4-2.fc38.noarch 69/181 Installing : python3-charset-normalizer-3.1.0-1.fc38.noarch 70/181 Installing : python3-packaging-23.0-1.fc38.noarch 71/181 Installing : python3-rpm-generators-14-4.fc38.noarch 72/181 Installing : python3-pysocks-1.7.1-16.fc38.noarch 73/181 Installing : python3-setuptools-65.5.1-2.fc38.noarch 74/181 Installing : python3-six-1.16.0-9.fc38.noarch 75/181 Installing : python3-urllib3+socks-1.26.16-1.fc38.noarch 76/181 Installing : python3-urllib3-1.26.16-1.fc38.noarch 77/181 Installing : boost-python3-1.78.0-14.fc38.i686 78/181 Installing : python3-numpy-1:1.24.4-1.fc38.i686 79/181 Installing : boost-numpy3-1.78.0-14.fc38.i686 80/181 Installing : libatomic-13.2.1-1.fc38.i686 81/181 Installing : libasan-13.2.1-1.fc38.i686 82/181 Installing : kmod-libs-30-4.fc38.i686 83/181 Installing : systemd-pam-253.10-1.fc38.i686 84/181 Installing : systemd-253.10-1.fc38.i686 85/181 Running scriptlet: systemd-253.10-1.fc38.i686 85/181 Creating group 'input' with GID 104. Creating group 'kvm' with GID 36. Creating group 'render' with GID 105. Creating group 'sgx' with GID 106. Creating group 'systemd-journal' with GID 190. Creating group 'systemd-oom' with GID 999. Creating user 'systemd-oom' (systemd Userspace OOM Killer) with UID 999 and GID 999. Running scriptlet: groff-base-1.22.4-11.fc38.i686 86/181 Installing : groff-base-1.22.4-11.fc38.i686 86/181 Running scriptlet: groff-base-1.22.4-11.fc38.i686 86/181 Installing : perl-Digest-1.20-490.fc38.noarch 87/181 Installing : perl-Digest-MD5-2.58-490.fc38.i686 88/181 Installing : perl-B-1.83-497.fc38.i686 89/181 Installing : perl-FileHandle-2.03-497.fc38.noarch 90/181 Installing : perl-Data-Dumper-2.184-491.fc38.i686 91/181 Installing : perl-libnet-3.15-1.fc38.noarch 92/181 Installing : perl-AutoLoader-5.74-497.fc38.noarch 93/181 Installing : perl-base-2.27-497.fc38.noarch 94/181 Installing : perl-URI-5.17-2.fc38.noarch 95/181 Installing : perl-Text-Tabs+Wrap-2023.0511-1.fc38.noarch 96/181 Installing : perl-Mozilla-CA-20221114-2.fc38.noarch 97/181 Installing : perl-if-0.61.000-497.fc38.noarch 98/181 Installing : perl-locale-1.10-497.fc38.noarch 99/181 Installing : perl-IO-Socket-IP-0.41-492.fc38.noarch 100/181 Installing : perl-Time-Local-2:1.300-490.fc38.noarch 101/181 Installing : perl-File-Path-2.18-490.fc38.noarch 102/181 Installing : perl-IO-Socket-SSL-2.081-1.fc38.noarch 103/181 Installing : perl-Net-SSLeay-1.92-5.fc38.i686 104/181 Installing : perl-Pod-Escapes-1:1.07-490.fc38.noarch 105/181 Installing : perl-Class-Struct-0.66-497.fc38.noarch 106/181 Installing : perl-Term-ANSIColor-5.01-491.fc38.noarch 107/181 Installing : perl-POSIX-2.03-497.fc38.i686 108/181 Installing : perl-IPC-Open3-1.22-497.fc38.noarch 109/181 Installing : perl-File-Temp-1:0.231.100-490.fc38.noarch 110/181 Installing : perl-HTTP-Tiny-0.086-2.fc38.noarch 111/181 Installing : perl-Term-Cap-1.18-1.fc38.noarch 112/181 Installing : perl-Pod-Simple-1:3.43-491.fc38.noarch 113/181 Installing : perl-Socket-4:2.036-2.fc38.i686 114/181 Installing : perl-SelectSaver-1.02-497.fc38.noarch 115/181 Installing : perl-Symbol-1.09-497.fc38.noarch 116/181 Installing : perl-File-stat-1.12-497.fc38.noarch 117/181 Installing : perl-podlators-1:5.01-2.fc38.noarch 118/181 Installing : perl-Pod-Perldoc-3.28.01-491.fc38.noarch 119/181 Installing : perl-Fcntl-1.15-497.fc38.i686 120/181 Installing : perl-Text-ParseWords-3.31-490.fc38.noarch 121/181 Installing : perl-mro-1.26-497.fc38.i686 122/181 Installing : perl-IO-1.50-497.fc38.i686 123/181 Installing : perl-overloading-0.02-497.fc38.noarch 124/181 Installing : perl-Pod-Usage-4:2.03-4.fc38.noarch 125/181 Installing : perl-Errno-1.36-497.fc38.i686 126/181 Installing : perl-File-Basename-2.85-497.fc38.noarch 127/181 Installing : perl-Getopt-Std-1.13-497.fc38.noarch 128/181 Installing : perl-MIME-Base64-3.16-490.fc38.i686 129/181 Installing : perl-Scalar-List-Utils-5:1.63-490.fc38.i686 130/181 Installing : perl-constant-1.33-491.fc38.noarch 131/181 Installing : perl-Storable-1:3.26-490.fc38.i686 132/181 Installing : perl-overload-1.35-497.fc38.noarch 133/181 Installing : perl-parent-1:0.241-1.fc38.noarch 134/181 Installing : perl-vars-1.05-497.fc38.noarch 135/181 Installing : perl-Getopt-Long-1:2.54-2.fc38.noarch 136/181 Installing : perl-Carp-1.52-490.fc38.noarch 137/181 Installing : perl-Exporter-5.77-490.fc38.noarch 138/181 Installing : perl-PathTools-3.84-490.fc38.i686 139/181 Installing : perl-DynaLoader-1.52-497.fc38.i686 140/181 Installing : perl-Encode-4:3.19-493.fc38.i686 141/181 Installing : perl-libs-4:5.36.1-497.fc38.i686 142/181 Installing : perl-interpreter-4:5.36.1-497.fc38.i686 143/181 Installing : infiniband-diags-44.0-3.fc38.i686 144/181 Installing : rdma-core-devel-44.0-3.fc38.i686 145/181 Installing : valgrind-1:3.21.0-6.fc38.i686 146/181 Installing : gc-8.2.2-3.fc38.i686 147/181 Installing : guile22-2.2.7-7.fc38.i686 148/181 Installing : make-1:4.4.1-1.fc38.i686 149/181 Installing : gcc-13.2.1-1.fc38.i686 150/181 Running scriptlet: gcc-13.2.1-1.fc38.i686 150/181 Installing : libquadmath-devel-13.2.1-1.fc38.i686 151/181 Installing : boost-test-1.78.0-14.fc38.i686 152/181 Installing : boost-stacktrace-1.78.0-14.fc38.i686 153/181 Installing : boost-serialization-1.78.0-14.fc38.i686 154/181 Installing : boost-random-1.78.0-14.fc38.i686 155/181 Installing : boost-program-options-1.78.0-14.fc38.i686 156/181 Installing : boost-nowide-1.78.0-14.fc38.i686 157/181 Installing : boost-math-1.78.0-14.fc38.i686 158/181 Installing : boost-iostreams-1.78.0-14.fc38.i686 159/181 Installing : boost-contract-1.78.0-14.fc38.i686 160/181 Installing : boost-1.78.0-14.fc38.i686 161/181 Installing : boost-devel-1.78.0-14.fc38.i686 162/181 Installing : valgrind-devel-1:3.21.0-6.fc38.i686 163/181 Installing : libpcap-devel-14:1.10.4-1.fc38.i686 164/181 Installing : python3-requests-2.28.2-2.fc38.noarch 165/181 Installing : python3-scons-4.4.0-3.fc38.noarch 166/181 Installing : python3-devel-3.11.5-1.fc38.i686 167/181 Installing : libstemmer-devel-2.2.0-5.fc38.i686 168/181 Installing : gperftools-devel-2.9.1-5.fc38.i686 169/181 Installing : pcre-devel-8.45-1.fc38.3.i686 170/181 Installing : snappy-devel-1.1.9-7.fc38.i686 171/181 Installing : yaml-cpp-devel-0.7.0-3.fc38.i686 172/181 Installing : zlib-devel-1.2.13-3.fc38.i686 173/181 Installing : systemd-rpm-macros-253.10-1.fc38.noarch 174/181 Installing : openssl-devel-1:3.0.9-2.fc38.i686 175/181 Installing : libcurl-devel-8.0.1-4.fc38.i686 176/181 Installing : annobin-plugin-gcc-12.26-1.fc38.i686 177/181 Running scriptlet: annobin-plugin-gcc-12.26-1.fc38.i686 177/181 Installing : gcc-c++-13.2.1-1.fc38.i686 178/181 Installing : gcc-plugin-annobin-13.2.1-1.fc38.i686 179/181 Running scriptlet: gcc-plugin-annobin-13.2.1-1.fc38.i686 179/181 Installing : python3-cheetah-3.2.6.post1-4.fc38.i686 180/181 Installing : python3-pyyaml-6.0-6.fc38.i686 181/181 Running scriptlet: python3-pyyaml-6.0-6.fc38.i686 181/181 Verifying : annobin-docs-12.26-1.fc38.noarch 1/181 Verifying : annobin-plugin-gcc-12.26-1.fc38.i686 2/181 Verifying : boost-1.78.0-14.fc38.i686 3/181 Verifying : boost-atomic-1.78.0-14.fc38.i686 4/181 Verifying : boost-chrono-1.78.0-14.fc38.i686 5/181 Verifying : boost-container-1.78.0-14.fc38.i686 6/181 Verifying : boost-context-1.78.0-14.fc38.i686 7/181 Verifying : boost-contract-1.78.0-14.fc38.i686 8/181 Verifying : boost-coroutine-1.78.0-14.fc38.i686 9/181 Verifying : boost-date-time-1.78.0-14.fc38.i686 10/181 Verifying : boost-devel-1.78.0-14.fc38.i686 11/181 Verifying : boost-fiber-1.78.0-14.fc38.i686 12/181 Verifying : boost-filesystem-1.78.0-14.fc38.i686 13/181 Verifying : boost-graph-1.78.0-14.fc38.i686 14/181 Verifying : boost-iostreams-1.78.0-14.fc38.i686 15/181 Verifying : boost-json-1.78.0-14.fc38.i686 16/181 Verifying : boost-locale-1.78.0-14.fc38.i686 17/181 Verifying : boost-log-1.78.0-14.fc38.i686 18/181 Verifying : boost-math-1.78.0-14.fc38.i686 19/181 Verifying : boost-nowide-1.78.0-14.fc38.i686 20/181 Verifying : boost-numpy3-1.78.0-14.fc38.i686 21/181 Verifying : boost-program-options-1.78.0-14.fc38.i686 22/181 Verifying : boost-python3-1.78.0-14.fc38.i686 23/181 Verifying : boost-random-1.78.0-14.fc38.i686 24/181 Verifying : boost-regex-1.78.0-14.fc38.i686 25/181 Verifying : boost-serialization-1.78.0-14.fc38.i686 26/181 Verifying : boost-stacktrace-1.78.0-14.fc38.i686 27/181 Verifying : boost-system-1.78.0-14.fc38.i686 28/181 Verifying : boost-test-1.78.0-14.fc38.i686 29/181 Verifying : boost-thread-1.78.0-14.fc38.i686 30/181 Verifying : boost-timer-1.78.0-14.fc38.i686 31/181 Verifying : boost-type_erasure-1.78.0-14.fc38.i686 32/181 Verifying : boost-wave-1.78.0-14.fc38.i686 33/181 Verifying : cmake-filesystem-3.27.4-7.fc38.i686 34/181 Verifying : cpp-13.2.1-1.fc38.i686 35/181 Verifying : dbus-1:1.14.10-1.fc38.i686 36/181 Verifying : dbus-broker-33-1.fc38.i686 37/181 Verifying : dbus-common-1:1.14.10-1.fc38.noarch 38/181 Verifying : expat-2.5.0-2.fc38.i686 39/181 Verifying : flexiblas-3.3.1-5.fc38.i686 40/181 Verifying : flexiblas-netlib-3.3.1-5.fc38.i686 41/181 Verifying : flexiblas-openblas-openmp-3.3.1-5.fc38.i686 42/181 Verifying : gc-8.2.2-3.fc38.i686 43/181 Verifying : gcc-13.2.1-1.fc38.i686 44/181 Verifying : gcc-c++-13.2.1-1.fc38.i686 45/181 Verifying : gcc-plugin-annobin-13.2.1-1.fc38.i686 46/181 Verifying : glibc-devel-2.37-5.fc38.i686 47/181 Verifying : glibc-headers-x86-2.37-5.fc38.noarch 48/181 Verifying : gperftools-devel-2.9.1-5.fc38.i686 49/181 Verifying : gperftools-libs-2.9.1-5.fc38.i686 50/181 Verifying : groff-base-1.22.4-11.fc38.i686 51/181 Verifying : guile22-2.2.7-7.fc38.i686 52/181 Verifying : infiniband-diags-44.0-3.fc38.i686 53/181 Verifying : kernel-headers-6.4.4-200.fc38.i686 54/181 Verifying : kmod-libs-30-4.fc38.i686 55/181 Verifying : libasan-13.2.1-1.fc38.i686 56/181 Verifying : libatomic-13.2.1-1.fc38.i686 57/181 Verifying : libb2-0.98.1-8.fc38.i686 58/181 Verifying : libcurl-devel-8.0.1-4.fc38.i686 59/181 Verifying : libgfortran-13.2.1-1.fc38.i686 60/181 Verifying : libibumad-44.0-3.fc38.i686 61/181 Verifying : libibverbs-44.0-3.fc38.i686 62/181 Verifying : libicu-72.1-2.fc38.i686 63/181 Verifying : libicu-devel-72.1-2.fc38.i686 64/181 Verifying : libmpc-1.3.1-2.fc38.i686 65/181 Verifying : libnl3-3.7.0-3.fc38.i686 66/181 Verifying : libpcap-14:1.10.4-1.fc38.i686 67/181 Verifying : libpcap-devel-14:1.10.4-1.fc38.i686 68/181 Verifying : libquadmath-13.2.1-1.fc38.i686 69/181 Verifying : libquadmath-devel-13.2.1-1.fc38.i686 70/181 Verifying : librdmacm-44.0-3.fc38.i686 71/181 Verifying : libseccomp-2.5.3-4.fc38.i686 72/181 Verifying : libstdc++-devel-13.2.1-1.fc38.i686 73/181 Verifying : libstemmer-2.2.0-5.fc38.i686 74/181 Verifying : libstemmer-devel-2.2.0-5.fc38.i686 75/181 Verifying : libtool-ltdl-2.4.7-6.fc38.i686 76/181 Verifying : libubsan-13.2.1-1.fc38.i686 77/181 Verifying : libunwind-1.6.2-7.fc38.i686 78/181 Verifying : libxcrypt-devel-4.4.36-1.fc38.i686 79/181 Verifying : libyaml-0.2.5-9.fc38.i686 80/181 Verifying : make-1:4.4.1-1.fc38.i686 81/181 Verifying : mpdecimal-2.5.1-6.fc38.i686 82/181 Verifying : ncurses-6.4-3.20230114.fc38.i686 83/181 Verifying : openblas-0.3.21-4.fc38.i686 84/181 Verifying : openblas-openmp-0.3.21-4.fc38.i686 85/181 Verifying : openssl-devel-1:3.0.9-2.fc38.i686 86/181 Verifying : pcre-8.45-1.fc38.3.i686 87/181 Verifying : pcre-cpp-8.45-1.fc38.3.i686 88/181 Verifying : pcre-devel-8.45-1.fc38.3.i686 89/181 Verifying : pcre-utf16-8.45-1.fc38.3.i686 90/181 Verifying : pcre-utf32-8.45-1.fc38.3.i686 91/181 Verifying : perl-AutoLoader-5.74-497.fc38.noarch 92/181 Verifying : perl-B-1.83-497.fc38.i686 93/181 Verifying : perl-Carp-1.52-490.fc38.noarch 94/181 Verifying : perl-Class-Struct-0.66-497.fc38.noarch 95/181 Verifying : perl-Data-Dumper-2.184-491.fc38.i686 96/181 Verifying : perl-Digest-1.20-490.fc38.noarch 97/181 Verifying : perl-Digest-MD5-2.58-490.fc38.i686 98/181 Verifying : perl-DynaLoader-1.52-497.fc38.i686 99/181 Verifying : perl-Encode-4:3.19-493.fc38.i686 100/181 Verifying : perl-Errno-1.36-497.fc38.i686 101/181 Verifying : perl-Exporter-5.77-490.fc38.noarch 102/181 Verifying : perl-Fcntl-1.15-497.fc38.i686 103/181 Verifying : perl-File-Basename-2.85-497.fc38.noarch 104/181 Verifying : perl-File-Path-2.18-490.fc38.noarch 105/181 Verifying : perl-File-Temp-1:0.231.100-490.fc38.noarch 106/181 Verifying : perl-File-stat-1.12-497.fc38.noarch 107/181 Verifying : perl-FileHandle-2.03-497.fc38.noarch 108/181 Verifying : perl-Getopt-Long-1:2.54-2.fc38.noarch 109/181 Verifying : perl-Getopt-Std-1.13-497.fc38.noarch 110/181 Verifying : perl-HTTP-Tiny-0.086-2.fc38.noarch 111/181 Verifying : perl-IO-1.50-497.fc38.i686 112/181 Verifying : perl-IO-Socket-IP-0.41-492.fc38.noarch 113/181 Verifying : perl-IO-Socket-SSL-2.081-1.fc38.noarch 114/181 Verifying : perl-IPC-Open3-1.22-497.fc38.noarch 115/181 Verifying : perl-MIME-Base64-3.16-490.fc38.i686 116/181 Verifying : perl-Mozilla-CA-20221114-2.fc38.noarch 117/181 Verifying : perl-Net-SSLeay-1.92-5.fc38.i686 118/181 Verifying : perl-POSIX-2.03-497.fc38.i686 119/181 Verifying : perl-PathTools-3.84-490.fc38.i686 120/181 Verifying : perl-Pod-Escapes-1:1.07-490.fc38.noarch 121/181 Verifying : perl-Pod-Perldoc-3.28.01-491.fc38.noarch 122/181 Verifying : perl-Pod-Simple-1:3.43-491.fc38.noarch 123/181 Verifying : perl-Pod-Usage-4:2.03-4.fc38.noarch 124/181 Verifying : perl-Scalar-List-Utils-5:1.63-490.fc38.i686 125/181 Verifying : perl-SelectSaver-1.02-497.fc38.noarch 126/181 Verifying : perl-Socket-4:2.036-2.fc38.i686 127/181 Verifying : perl-Storable-1:3.26-490.fc38.i686 128/181 Verifying : perl-Symbol-1.09-497.fc38.noarch 129/181 Verifying : perl-Term-ANSIColor-5.01-491.fc38.noarch 130/181 Verifying : perl-Term-Cap-1.18-1.fc38.noarch 131/181 Verifying : perl-Text-ParseWords-3.31-490.fc38.noarch 132/181 Verifying : perl-Text-Tabs+Wrap-2023.0511-1.fc38.noarch 133/181 Verifying : perl-Time-Local-2:1.300-490.fc38.noarch 134/181 Verifying : perl-URI-5.17-2.fc38.noarch 135/181 Verifying : perl-base-2.27-497.fc38.noarch 136/181 Verifying : perl-constant-1.33-491.fc38.noarch 137/181 Verifying : perl-if-0.61.000-497.fc38.noarch 138/181 Verifying : perl-interpreter-4:5.36.1-497.fc38.i686 139/181 Verifying : perl-libnet-3.15-1.fc38.noarch 140/181 Verifying : perl-libs-4:5.36.1-497.fc38.i686 141/181 Verifying : perl-locale-1.10-497.fc38.noarch 142/181 Verifying : perl-mro-1.26-497.fc38.i686 143/181 Verifying : perl-overload-1.35-497.fc38.noarch 144/181 Verifying : perl-overloading-0.02-497.fc38.noarch 145/181 Verifying : perl-parent-1:0.241-1.fc38.noarch 146/181 Verifying : perl-podlators-1:5.01-2.fc38.noarch 147/181 Verifying : perl-vars-1.05-497.fc38.noarch 148/181 Verifying : pyproject-rpm-macros-1.9.0-1.fc38.noarch 149/181 Verifying : python-pip-wheel-22.3.1-3.fc38.noarch 150/181 Verifying : python-rpm-macros-3.11-10.fc38.noarch 151/181 Verifying : python-setuptools-wheel-65.5.1-2.fc38.noarch 152/181 Verifying : python3-3.11.5-1.fc38.i686 153/181 Verifying : python3-charset-normalizer-3.1.0-1.fc38.noarch 154/181 Verifying : python3-cheetah-3.2.6.post1-4.fc38.i686 155/181 Verifying : python3-devel-3.11.5-1.fc38.i686 156/181 Verifying : python3-idna-3.4-2.fc38.noarch 157/181 Verifying : python3-libs-3.11.5-1.fc38.i686 158/181 Verifying : python3-numpy-1:1.24.4-1.fc38.i686 159/181 Verifying : python3-packaging-23.0-1.fc38.noarch 160/181 Verifying : python3-pysocks-1.7.1-16.fc38.noarch 161/181 Verifying : python3-pyyaml-6.0-6.fc38.i686 162/181 Verifying : python3-requests-2.28.2-2.fc38.noarch 163/181 Verifying : python3-rpm-generators-14-4.fc38.noarch 164/181 Verifying : python3-rpm-macros-3.11-10.fc38.noarch 165/181 Verifying : python3-scons-4.4.0-3.fc38.noarch 166/181 Verifying : python3-setuptools-65.5.1-2.fc38.noarch 167/181 Verifying : python3-six-1.16.0-9.fc38.noarch 168/181 Verifying : python3-urllib3+socks-1.26.16-1.fc38.noarch 169/181 Verifying : python3-urllib3-1.26.16-1.fc38.noarch 170/181 Verifying : rdma-core-devel-44.0-3.fc38.i686 171/181 Verifying : snappy-1.1.9-7.fc38.i686 172/181 Verifying : snappy-devel-1.1.9-7.fc38.i686 173/181 Verifying : systemd-253.10-1.fc38.i686 174/181 Verifying : systemd-pam-253.10-1.fc38.i686 175/181 Verifying : systemd-rpm-macros-253.10-1.fc38.noarch 176/181 Verifying : valgrind-1:3.21.0-6.fc38.i686 177/181 Verifying : valgrind-devel-1:3.21.0-6.fc38.i686 178/181 Verifying : yaml-cpp-0.7.0-3.fc38.i686 179/181 Verifying : yaml-cpp-devel-0.7.0-3.fc38.i686 180/181 Verifying : zlib-devel-1.2.13-3.fc38.i686 181/181 Installed products updated. Installed: annobin-docs-12.26-1.fc38.noarch annobin-plugin-gcc-12.26-1.fc38.i686 boost-1.78.0-14.fc38.i686 boost-atomic-1.78.0-14.fc38.i686 boost-chrono-1.78.0-14.fc38.i686 boost-container-1.78.0-14.fc38.i686 boost-context-1.78.0-14.fc38.i686 boost-contract-1.78.0-14.fc38.i686 boost-coroutine-1.78.0-14.fc38.i686 boost-date-time-1.78.0-14.fc38.i686 boost-devel-1.78.0-14.fc38.i686 boost-fiber-1.78.0-14.fc38.i686 boost-filesystem-1.78.0-14.fc38.i686 boost-graph-1.78.0-14.fc38.i686 boost-iostreams-1.78.0-14.fc38.i686 boost-json-1.78.0-14.fc38.i686 boost-locale-1.78.0-14.fc38.i686 boost-log-1.78.0-14.fc38.i686 boost-math-1.78.0-14.fc38.i686 boost-nowide-1.78.0-14.fc38.i686 boost-numpy3-1.78.0-14.fc38.i686 boost-program-options-1.78.0-14.fc38.i686 boost-python3-1.78.0-14.fc38.i686 boost-random-1.78.0-14.fc38.i686 boost-regex-1.78.0-14.fc38.i686 boost-serialization-1.78.0-14.fc38.i686 boost-stacktrace-1.78.0-14.fc38.i686 boost-system-1.78.0-14.fc38.i686 boost-test-1.78.0-14.fc38.i686 boost-thread-1.78.0-14.fc38.i686 boost-timer-1.78.0-14.fc38.i686 boost-type_erasure-1.78.0-14.fc38.i686 boost-wave-1.78.0-14.fc38.i686 cmake-filesystem-3.27.4-7.fc38.i686 cpp-13.2.1-1.fc38.i686 dbus-1:1.14.10-1.fc38.i686 dbus-broker-33-1.fc38.i686 dbus-common-1:1.14.10-1.fc38.noarch expat-2.5.0-2.fc38.i686 flexiblas-3.3.1-5.fc38.i686 flexiblas-netlib-3.3.1-5.fc38.i686 flexiblas-openblas-openmp-3.3.1-5.fc38.i686 gc-8.2.2-3.fc38.i686 gcc-13.2.1-1.fc38.i686 gcc-c++-13.2.1-1.fc38.i686 gcc-plugin-annobin-13.2.1-1.fc38.i686 glibc-devel-2.37-5.fc38.i686 glibc-headers-x86-2.37-5.fc38.noarch gperftools-devel-2.9.1-5.fc38.i686 gperftools-libs-2.9.1-5.fc38.i686 groff-base-1.22.4-11.fc38.i686 guile22-2.2.7-7.fc38.i686 infiniband-diags-44.0-3.fc38.i686 kernel-headers-6.4.4-200.fc38.i686 kmod-libs-30-4.fc38.i686 libasan-13.2.1-1.fc38.i686 libatomic-13.2.1-1.fc38.i686 libb2-0.98.1-8.fc38.i686 libcurl-devel-8.0.1-4.fc38.i686 libgfortran-13.2.1-1.fc38.i686 libibumad-44.0-3.fc38.i686 libibverbs-44.0-3.fc38.i686 libicu-72.1-2.fc38.i686 libicu-devel-72.1-2.fc38.i686 libmpc-1.3.1-2.fc38.i686 libnl3-3.7.0-3.fc38.i686 libpcap-14:1.10.4-1.fc38.i686 libpcap-devel-14:1.10.4-1.fc38.i686 libquadmath-13.2.1-1.fc38.i686 libquadmath-devel-13.2.1-1.fc38.i686 librdmacm-44.0-3.fc38.i686 libseccomp-2.5.3-4.fc38.i686 libstdc++-devel-13.2.1-1.fc38.i686 libstemmer-2.2.0-5.fc38.i686 libstemmer-devel-2.2.0-5.fc38.i686 libtool-ltdl-2.4.7-6.fc38.i686 libubsan-13.2.1-1.fc38.i686 libunwind-1.6.2-7.fc38.i686 libxcrypt-devel-4.4.36-1.fc38.i686 libyaml-0.2.5-9.fc38.i686 make-1:4.4.1-1.fc38.i686 mpdecimal-2.5.1-6.fc38.i686 ncurses-6.4-3.20230114.fc38.i686 openblas-0.3.21-4.fc38.i686 openblas-openmp-0.3.21-4.fc38.i686 openssl-devel-1:3.0.9-2.fc38.i686 pcre-8.45-1.fc38.3.i686 pcre-cpp-8.45-1.fc38.3.i686 pcre-devel-8.45-1.fc38.3.i686 pcre-utf16-8.45-1.fc38.3.i686 pcre-utf32-8.45-1.fc38.3.i686 perl-AutoLoader-5.74-497.fc38.noarch perl-B-1.83-497.fc38.i686 perl-Carp-1.52-490.fc38.noarch perl-Class-Struct-0.66-497.fc38.noarch perl-Data-Dumper-2.184-491.fc38.i686 perl-Digest-1.20-490.fc38.noarch perl-Digest-MD5-2.58-490.fc38.i686 perl-DynaLoader-1.52-497.fc38.i686 perl-Encode-4:3.19-493.fc38.i686 perl-Errno-1.36-497.fc38.i686 perl-Exporter-5.77-490.fc38.noarch perl-Fcntl-1.15-497.fc38.i686 perl-File-Basename-2.85-497.fc38.noarch perl-File-Path-2.18-490.fc38.noarch perl-File-Temp-1:0.231.100-490.fc38.noarch perl-File-stat-1.12-497.fc38.noarch perl-FileHandle-2.03-497.fc38.noarch perl-Getopt-Long-1:2.54-2.fc38.noarch perl-Getopt-Std-1.13-497.fc38.noarch perl-HTTP-Tiny-0.086-2.fc38.noarch perl-IO-1.50-497.fc38.i686 perl-IO-Socket-IP-0.41-492.fc38.noarch perl-IO-Socket-SSL-2.081-1.fc38.noarch perl-IPC-Open3-1.22-497.fc38.noarch perl-MIME-Base64-3.16-490.fc38.i686 perl-Mozilla-CA-20221114-2.fc38.noarch perl-Net-SSLeay-1.92-5.fc38.i686 perl-POSIX-2.03-497.fc38.i686 perl-PathTools-3.84-490.fc38.i686 perl-Pod-Escapes-1:1.07-490.fc38.noarch perl-Pod-Perldoc-3.28.01-491.fc38.noarch perl-Pod-Simple-1:3.43-491.fc38.noarch perl-Pod-Usage-4:2.03-4.fc38.noarch perl-Scalar-List-Utils-5:1.63-490.fc38.i686 perl-SelectSaver-1.02-497.fc38.noarch perl-Socket-4:2.036-2.fc38.i686 perl-Storable-1:3.26-490.fc38.i686 perl-Symbol-1.09-497.fc38.noarch perl-Term-ANSIColor-5.01-491.fc38.noarch perl-Term-Cap-1.18-1.fc38.noarch perl-Text-ParseWords-3.31-490.fc38.noarch perl-Text-Tabs+Wrap-2023.0511-1.fc38.noarch perl-Time-Local-2:1.300-490.fc38.noarch perl-URI-5.17-2.fc38.noarch perl-base-2.27-497.fc38.noarch perl-constant-1.33-491.fc38.noarch perl-if-0.61.000-497.fc38.noarch perl-interpreter-4:5.36.1-497.fc38.i686 perl-libnet-3.15-1.fc38.noarch perl-libs-4:5.36.1-497.fc38.i686 perl-locale-1.10-497.fc38.noarch perl-mro-1.26-497.fc38.i686 perl-overload-1.35-497.fc38.noarch perl-overloading-0.02-497.fc38.noarch perl-parent-1:0.241-1.fc38.noarch perl-podlators-1:5.01-2.fc38.noarch perl-vars-1.05-497.fc38.noarch pyproject-rpm-macros-1.9.0-1.fc38.noarch python-pip-wheel-22.3.1-3.fc38.noarch python-rpm-macros-3.11-10.fc38.noarch python-setuptools-wheel-65.5.1-2.fc38.noarch python3-3.11.5-1.fc38.i686 python3-charset-normalizer-3.1.0-1.fc38.noarch python3-cheetah-3.2.6.post1-4.fc38.i686 python3-devel-3.11.5-1.fc38.i686 python3-idna-3.4-2.fc38.noarch python3-libs-3.11.5-1.fc38.i686 python3-numpy-1:1.24.4-1.fc38.i686 python3-packaging-23.0-1.fc38.noarch python3-pysocks-1.7.1-16.fc38.noarch python3-pyyaml-6.0-6.fc38.i686 python3-requests-2.28.2-2.fc38.noarch python3-rpm-generators-14-4.fc38.noarch python3-rpm-macros-3.11-10.fc38.noarch python3-scons-4.4.0-3.fc38.noarch python3-setuptools-65.5.1-2.fc38.noarch python3-six-1.16.0-9.fc38.noarch python3-urllib3-1.26.16-1.fc38.noarch python3-urllib3+socks-1.26.16-1.fc38.noarch rdma-core-devel-44.0-3.fc38.i686 snappy-1.1.9-7.fc38.i686 snappy-devel-1.1.9-7.fc38.i686 systemd-253.10-1.fc38.i686 systemd-pam-253.10-1.fc38.i686 systemd-rpm-macros-253.10-1.fc38.noarch valgrind-1:3.21.0-6.fc38.i686 valgrind-devel-1:3.21.0-6.fc38.i686 yaml-cpp-0.7.0-3.fc38.i686 yaml-cpp-devel-0.7.0-3.fc38.i686 zlib-devel-1.2.13-3.fc38.i686 Complete! Finish: build setup for mongodb-4.0.3-4.fc38.src.rpm Start: rpmbuild mongodb-4.0.3-4.fc38.src.rpm warning: %patchN is deprecated (6 usages found), use %patch N (or %patch -P N) Building target platforms: i686 Building for target i686 setting SOURCE_DATE_EPOCH=1557360000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.kSG5N9 + 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 . Patch #0 (inconsistent-tabs.patch): + echo '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 #20 (ppc64.patch): + echo 'Patch #20 (ppc64.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file SConstruct patching file src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/architecture.h patching file src/third_party/IntelRDFPMathLib20U1/SConscript patching file src/third_party/timelib-2018.01alpha1/parse_tz.c patching file src/third_party/wiredtiger/SConscript Patch #21 (32bit-support.patch): + echo 'Patch #21 (32bit-support.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/mongo/bson/bsonobjbuilder.h patching file src/mongo/db/storage/storage_options.cpp patching file src/mongo/platform/overflow_arithmetic.h Patch #23 (ppc64-arm-i386-mozjs-code.patch): + echo 'Patch #23 (ppc64-arm-i386-mozjs-code.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/third_party/mozjs-45/platform/arm/linux/build/Unified_cpp_js_src0.cpp patching file src/third_party/mozjs-45/platform/arm/linux/build/Unified_cpp_js_src1.cpp patching file src/third_party/mozjs-45/platform/arm/linux/build/Unified_cpp_js_src10.cpp patching file src/third_party/mozjs-45/platform/arm/linux/build/Unified_cpp_js_src11.cpp patching file src/third_party/mozjs-45/platform/arm/linux/build/Unified_cpp_js_src12.cpp patching file src/third_party/mozjs-45/platform/arm/linux/build/Unified_cpp_js_src13.cpp patching file src/third_party/mozjs-45/platform/arm/linux/build/Unified_cpp_js_src14.cpp patching file src/third_party/mozjs-45/platform/arm/linux/build/Unified_cpp_js_src15.cpp patching file src/third_party/mozjs-45/platform/arm/linux/build/Unified_cpp_js_src16.cpp patching file src/third_party/mozjs-45/platform/arm/linux/build/Unified_cpp_js_src17.cpp patching file src/third_party/mozjs-45/platform/arm/linux/build/Unified_cpp_js_src18.cpp patching file src/third_party/mozjs-45/platform/arm/linux/build/Unified_cpp_js_src19.cpp patching file src/third_party/mozjs-45/platform/arm/linux/build/Unified_cpp_js_src2.cpp patching file src/third_party/mozjs-45/platform/arm/linux/build/Unified_cpp_js_src20.cpp patching file src/third_party/mozjs-45/platform/arm/linux/build/Unified_cpp_js_src21.cpp patching file src/third_party/mozjs-45/platform/arm/linux/build/Unified_cpp_js_src22.cpp patching file src/third_party/mozjs-45/platform/arm/linux/build/Unified_cpp_js_src23.cpp patching file src/third_party/mozjs-45/platform/arm/linux/build/Unified_cpp_js_src24.cpp patching file src/third_party/mozjs-45/platform/arm/linux/build/Unified_cpp_js_src25.cpp patching file src/third_party/mozjs-45/platform/arm/linux/build/Unified_cpp_js_src26.cpp patching file src/third_party/mozjs-45/platform/arm/linux/build/Unified_cpp_js_src27.cpp patching file src/third_party/mozjs-45/platform/arm/linux/build/Unified_cpp_js_src28.cpp patching file src/third_party/mozjs-45/platform/arm/linux/build/Unified_cpp_js_src29.cpp patching file src/third_party/mozjs-45/platform/arm/linux/build/Unified_cpp_js_src3.cpp patching file src/third_party/mozjs-45/platform/arm/linux/build/Unified_cpp_js_src30.cpp patching file src/third_party/mozjs-45/platform/arm/linux/build/Unified_cpp_js_src31.cpp patching file src/third_party/mozjs-45/platform/arm/linux/build/Unified_cpp_js_src32.cpp patching file src/third_party/mozjs-45/platform/arm/linux/build/Unified_cpp_js_src33.cpp patching file src/third_party/mozjs-45/platform/arm/linux/build/Unified_cpp_js_src34.cpp patching file src/third_party/mozjs-45/platform/arm/linux/build/Unified_cpp_js_src35.cpp patching file src/third_party/mozjs-45/platform/arm/linux/build/Unified_cpp_js_src4.cpp patching file src/third_party/mozjs-45/platform/arm/linux/build/Unified_cpp_js_src5.cpp patching file src/third_party/mozjs-45/platform/arm/linux/build/Unified_cpp_js_src6.cpp patching file src/third_party/mozjs-45/platform/arm/linux/build/Unified_cpp_js_src7.cpp patching file src/third_party/mozjs-45/platform/arm/linux/build/Unified_cpp_js_src8.cpp patching file src/third_party/mozjs-45/platform/arm/linux/build/Unified_cpp_js_src9.cpp patching file src/third_party/mozjs-45/platform/arm/linux/build/js-confdefs.h patching file src/third_party/mozjs-45/platform/arm/linux/include/js-config.h patching file src/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src0.cpp patching file src/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src1.cpp patching file src/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src10.cpp patching file src/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src11.cpp patching file src/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src12.cpp patching file src/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src13.cpp patching file src/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src14.cpp patching file src/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src15.cpp patching file src/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src16.cpp patching file src/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src17.cpp patching file src/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src18.cpp patching file src/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src19.cpp patching file src/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src2.cpp patching file src/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src20.cpp patching file src/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src21.cpp patching file src/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src22.cpp patching file src/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src23.cpp patching file src/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src24.cpp patching file src/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src25.cpp patching file src/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src26.cpp patching file src/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src27.cpp patching file src/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src28.cpp patching file src/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src29.cpp patching file src/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src3.cpp patching file src/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src30.cpp patching file src/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src31.cpp patching file src/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src32.cpp patching file src/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src33.cpp patching file src/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src34.cpp patching file src/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src35.cpp patching file src/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src36.cpp patching file src/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src4.cpp patching file src/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src5.cpp patching file src/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src6.cpp patching file src/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src7.cpp patching file src/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src8.cpp patching file src/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src9.cpp patching file src/third_party/mozjs-45/platform/i386/linux/build/js-confdefs.h patching file src/third_party/mozjs-45/platform/i386/linux/include/js-config.h patching file src/third_party/mozjs-45/platform/ppc64/linux/build/Unified_cpp_js_src0.cpp patching file src/third_party/mozjs-45/platform/ppc64/linux/build/Unified_cpp_js_src1.cpp patching file src/third_party/mozjs-45/platform/ppc64/linux/build/Unified_cpp_js_src10.cpp patching file src/third_party/mozjs-45/platform/ppc64/linux/build/Unified_cpp_js_src11.cpp patching file src/third_party/mozjs-45/platform/ppc64/linux/build/Unified_cpp_js_src12.cpp patching file src/third_party/mozjs-45/platform/ppc64/linux/build/Unified_cpp_js_src13.cpp patching file src/third_party/mozjs-45/platform/ppc64/linux/build/Unified_cpp_js_src14.cpp patching file src/third_party/mozjs-45/platform/ppc64/linux/build/Unified_cpp_js_src15.cpp patching file src/third_party/mozjs-45/platform/ppc64/linux/build/Unified_cpp_js_src16.cpp patching file src/third_party/mozjs-45/platform/ppc64/linux/build/Unified_cpp_js_src17.cpp patching file src/third_party/mozjs-45/platform/ppc64/linux/build/Unified_cpp_js_src18.cpp patching file src/third_party/mozjs-45/platform/ppc64/linux/build/Unified_cpp_js_src19.cpp patching file src/third_party/mozjs-45/platform/ppc64/linux/build/Unified_cpp_js_src2.cpp patching file src/third_party/mozjs-45/platform/ppc64/linux/build/Unified_cpp_js_src20.cpp patching file src/third_party/mozjs-45/platform/ppc64/linux/build/Unified_cpp_js_src21.cpp patching file src/third_party/mozjs-45/platform/ppc64/linux/build/Unified_cpp_js_src22.cpp patching file src/third_party/mozjs-45/platform/ppc64/linux/build/Unified_cpp_js_src23.cpp patching file src/third_party/mozjs-45/platform/ppc64/linux/build/Unified_cpp_js_src24.cpp patching file src/third_party/mozjs-45/platform/ppc64/linux/build/Unified_cpp_js_src25.cpp patching file src/third_party/mozjs-45/platform/ppc64/linux/build/Unified_cpp_js_src26.cpp patching file src/third_party/mozjs-45/platform/ppc64/linux/build/Unified_cpp_js_src27.cpp patching file src/third_party/mozjs-45/platform/ppc64/linux/build/Unified_cpp_js_src28.cpp patching file src/third_party/mozjs-45/platform/ppc64/linux/build/Unified_cpp_js_src29.cpp patching file src/third_party/mozjs-45/platform/ppc64/linux/build/Unified_cpp_js_src3.cpp patching file src/third_party/mozjs-45/platform/ppc64/linux/build/Unified_cpp_js_src30.cpp patching file src/third_party/mozjs-45/platform/ppc64/linux/build/Unified_cpp_js_src31.cpp patching file src/third_party/mozjs-45/platform/ppc64/linux/build/Unified_cpp_js_src32.cpp patching file src/third_party/mozjs-45/platform/ppc64/linux/build/Unified_cpp_js_src33.cpp patching file src/third_party/mozjs-45/platform/ppc64/linux/build/Unified_cpp_js_src4.cpp patching file src/third_party/mozjs-45/platform/ppc64/linux/build/Unified_cpp_js_src5.cpp patching file src/third_party/mozjs-45/platform/ppc64/linux/build/Unified_cpp_js_src6.cpp patching file src/third_party/mozjs-45/platform/ppc64/linux/build/Unified_cpp_js_src7.cpp patching file src/third_party/mozjs-45/platform/ppc64/linux/build/Unified_cpp_js_src8.cpp patching file src/third_party/mozjs-45/platform/ppc64/linux/build/Unified_cpp_js_src9.cpp patching file src/third_party/mozjs-45/platform/ppc64/linux/build/js-confdefs.h patching file src/third_party/mozjs-45/platform/ppc64/linux/include/js-config.h + sed -i -e '/extract\/js\/src\/jit\/ProcessExecutableMemory.cpp/d' src/third_party/mozjs-45/SConscript Patch #100 (mongodb-sailer-f38.patch): + echo 'Patch #100 (mongodb-sailer-f38.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 src/mongo/util/decoration_registry.h patching file src/mongo/db/fts/unicode/gen_casefold_map.py patching file src/mongo/db/fts/unicode/gen_delimiter_list.py patching file src/mongo/db/fts/unicode/gen_diacritic_list.py patching file src/mongo/db/free_mon/free_mon_options.h + 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.I8rp2I + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + 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/lib: + 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 ++ sed -e 's/-O. //' -e 's/-g //' ++ echo -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection ++ echo -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 ++ sed -e s/-specs=/usr/lib/rpm/redhat/redhat-package-notes// sed: -e expression #1, char 15: unknown option to `s' + cat variables.list CCFLAGS="-flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection" LINKFLAGS="" VERBOSE=1 MONGO_VERSION="4.0.3" VARIANT_DIR="fedora" # On i686 -ffloat-store is requred to round in GranularityRounderPreferredNumbers # properly, without this: # -> build/opt/mongo/db/pipeline/granularity_rounder_test, # build/opt/mongo/db/pipeline/accumulator_test, build/opt/mongo/util/summation_test # and build/opt/mongo/db/pipeline/document_source_test unittests fail CCFLAGS+=" -ffloat-store" + 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=off --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 5 final 0 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 i386 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... no Checking if linker supports -fuse-ld=gold... yes 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 scons: done reading SConscript files. scons: Building targets ... /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 Creating 'build/fedora/mongo/config.h' 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 { | ^~~~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/bson/json.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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 In file included from /usr/include/string.h:535, from /usr/include/c++/13/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:731: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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 { | ^~~~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/util/stacktrace_posix.cpp 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 /usr/bin/python3 buildscripts/idl/idlc.py --include src --base_dir build/fedora --target_arch i386 --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 i386 --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 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 i386 --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 buildscripts/idl/idlc.py --include src --base_dir build/fedora --target_arch i386 --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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from /usr/include/string.h:535, from /usr/include/c++/13/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:731:14, inlined from 'mongo::BSONObjBuilder::append(mongo::StringData, std::vector > const&)mongo::BSONObjBuilder&' at src/mongo/bson/bsonobjbuilder.h:970:26, inlined from 'mongo::BSONObjBuilderValueStream::operator<< > >(std::vector >)mongo::BSONObjBuilder&' at src/mongo/bson/bsonobjbuilder.h:1060: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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 /usr/bin/python3 buildscripts/idl/idlc.py --include src --base_dir build/fedora --target_arch i386 --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 /usr/bin/python3 buildscripts/idl/idlc.py --include src --base_dir build/fedora --target_arch i386 --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 i386 --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 i386 --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 i386 --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 /usr/bin/python3 buildscripts/idl/idlc.py --include src --base_dir build/fedora --target_arch i386 --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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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_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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 src/mongo/util/options_parser/option_section.h:29, from src/mongo/util/options_parser/startup_options.h:30, from src/mongo/db/free_mon/free_mon_options.cpp:43: src/mongo/util/options_parser/option_description.h:190:24: warning: identifier 'requires' is a keyword in C++20 [-Wc++20-compat] 190 | OptionDescription& requires(const std::string& otherDottedName); | ^~~~~~~~ /usr/bin/python3 buildscripts/idl/idlc.py --include src --base_dir build/fedora --target_arch i386 --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.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from 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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/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 { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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/third_party/mozjs-45/platform/i386/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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/i386/linux/build -Isrc/third_party/mozjs-45/platform/i386/linux/build -Ibuild/fedora/third_party/mozjs-45/platform/i386/linux/include -Isrc/third_party/mozjs-45/platform/i386/linux/include src/third_party/mozjs-45/platform/i386/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/i386/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 | ^~~~~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 /usr/bin/python3 buildscripts/idl/idlc.py --include src --base_dir build/fedora --target_arch i386 --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 /usr/bin/python3 buildscripts/idl/idlc.py --include src --base_dir build/fedora --target_arch i386 --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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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/i386/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/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/i386/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 = 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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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::DoWarmUpCounterFallback(JSContext*, js::jit::BaselineFrame*, js::jit::ICWarmUpCounter_Fallback*, js::jit::IonOsrTempData**)' at src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.cpp:197:44: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'script' in 'MEM[(struct Rooted * *)cx_61(D) + 40B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.cpp: In function 'js::jit::DoWarmUpCounterFallback(JSContext*, js::jit::BaselineFrame*, js::jit::ICWarmUpCounter_Fallback*, js::jit::IonOsrTempData**)': src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.cpp:197:18: note: 'script' declared here 197 | RootedScript script(cx, frame->script()); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.cpp:187:36: note: 'cx' declared here 187 | DoWarmUpCounterFallback(JSContext* cx, BaselineFrame* frame, ICWarmUpCounter_Fallback* stub, | ~~~~~~~~~~~^~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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::DoTypeOfFallback(JSContext*, js::jit::BaselineFrame*, js::jit::ICTypeOf_Fallback*, JS::Handle, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.cpp:8124:56: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'string' in 'MEM[(struct Rooted * *)cx_90(D) + 28B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.cpp: In function 'js::jit::DoTypeOfFallback(JSContext*, js::jit::BaselineFrame*, js::jit::ICTypeOf_Fallback*, JS::Handle, JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.cpp:8124:18: note: 'string' declared here 8124 | RootedString string(cx, TypeName(type, cx->names())); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.cpp:8119:29: note: 'cx' declared here 8119 | DoTypeOfFallback(JSContext* cx, BaselineFrame* frame, ICTypeOf_Fallback* stub, HandleValue val, | ~~~~~~~~~~~^~ 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 + 24B]' [-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:8620:55: note: 'this' declared here 8620 | ICSetProp_Native::Compiler::getStub(ICStubSpace* space) | ^ 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::GetElement(JSContext*, JS::Handle, JS::Handle, unsigned int, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:188: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_34(D) + 48B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsobjinlines.h: In function 'js::GetElement(JSContext*, JS::Handle, JS::Handle, unsigned int, JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:188:14: note: 'id' declared here 188 | RootedId id(cx); | ^~ src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:185:27: note: 'cx' declared here 185 | js::GetElement(JSContext* cx, HandleObject obj, HandleValue receiver, uint32_t index, | ~~~~~~~~~~~^~ 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<0u>(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 + 24B]' [-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<0u>(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)); | ^~~~~ 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:1325:82: note: 'this' declared here 1325 | ICUpdatedStub* getStubSpecific(ICStubSpace* space, Handle shapes); | ^ 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<1u>(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 + 24B]' [-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<1u>(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.h:1325:82: note: 'this' declared here 1325 | ICUpdatedStub* getStubSpecific(ICStubSpace* space, Handle shapes); | ^ 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<2u>(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 + 24B]' [-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<2u>(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.h:1325:82: note: 'this' declared here 1325 | ICUpdatedStub* getStubSpecific(ICStubSpace* space, Handle shapes); | ^ 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<3u>(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 + 24B]' [-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<3u>(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.h:1325:82: note: 'this' declared here 1325 | ICUpdatedStub* getStubSpecific(ICStubSpace* space, Handle shapes); | ^ 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<4u>(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 + 24B]' [-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<4u>(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.h:1325:82: note: 'this' declared here 1325 | ICUpdatedStub* getStubSpecific(ICStubSpace* space, Handle shapes); | ^ 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<0u>(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 + 24B]' [-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<0u>(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:2087:82: note: 'this' declared here 2087 | ICUpdatedStub* getStubSpecific(ICStubSpace* space, Handle shapes) | ^ 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<1u>(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 + 24B]' [-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<1u>(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:2087:82: note: 'this' declared here 2087 | ICUpdatedStub* getStubSpecific(ICStubSpace* space, Handle shapes) | ^ 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<2u>(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 + 24B]' [-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<2u>(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:2087:82: note: 'this' declared here 2087 | ICUpdatedStub* getStubSpecific(ICStubSpace* space, Handle shapes) | ^ 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<3u>(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 + 24B]' [-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<3u>(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:2087:82: note: 'this' declared here 2087 | ICUpdatedStub* getStubSpecific(ICStubSpace* space, Handle shapes) | ^ 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<4u>(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 + 24B]' [-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<4u>(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:2087:82: note: 'this' declared here 2087 | ICUpdatedStub* getStubSpecific(ICStubSpace* space, Handle shapes) | ^ 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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::EnterBaselineAtBranch(JSContext*, js::InterpreterFrame*, unsigned char*)' at src/third_party/mozjs-45/extract/js/src/jit/BaselineJIT.cpp:213:25: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'thisv' in 'MEM[(struct Rooted * *)cx_202(D) + 52B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/BaselineJIT.cpp: In function 'js::jit::EnterBaselineAtBranch(JSContext*, js::InterpreterFrame*, unsigned char*)': src/third_party/mozjs-45/extract/js/src/jit/BaselineJIT.cpp:213:17: note: 'thisv' declared here 213 | RootedValue thisv(cx); | ^~~~~ src/third_party/mozjs-45/extract/js/src/jit/BaselineJIT.cpp:193:39: note: 'cx' declared here 193 | jit::EnterBaselineAtBranch(JSContext* cx, InterpreterFrame* fp, jsbytecode* pc) | ~~~~~~~~~~~^~ In file included from src/mongo/util/options_parser/option_section.h:29, from src/mongo/db/server_options_server_helpers.h:33, from src/mongo/db/server_options_init.cpp:30: src/mongo/util/options_parser/option_description.h:190:24: warning: identifier 'requires' is a keyword in C++20 [-Wc++20-compat] 190 | OptionDescription& requires(const std::string& otherDottedName); | ^~~~~~~~ In member function 'JS::Rooted > >::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted > >::Rooted > >(JSContext* const&, js::TraceableVector >&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::jit::ICSetPropNativeAddCompiler::getStub(js::jit::ICStubSpace*)' at src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.cpp:4998:51: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'shapes' in 'MEM[(struct Rooted * *)_49 + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.cpp: In member function 'js::jit::ICSetPropNativeAddCompiler::getStub(js::jit::ICStubSpace*)': src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.cpp:4998:25: note: 'shapes' declared here 4998 | Rooted shapes(cx, ShapeVector(cx)); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.cpp:4996:55: note: 'this' declared here 4996 | ICSetPropNativeAddCompiler::getStub(ICStubSpace* space) | ^ In member function 'JS::Rooted > >::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted > >::Rooted > >(JSContext* const&, js::TraceableVector >&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::jit::ICSetElemDenseOrUnboxedArrayAddCompiler::getStub(js::jit::ICStubSpace*)' at src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.cpp:3136:51: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'shapes' in 'MEM[(struct Rooted * *)_59 + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.cpp: In member function 'js::jit::ICSetElemDenseOrUnboxedArrayAddCompiler::getStub(js::jit::ICStubSpace*)': src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.cpp:3136:25: note: 'shapes' declared here 3136 | Rooted shapes(cx, ShapeVector(cx)); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.cpp:3134:68: note: 'this' declared here 3134 | ICSetElemDenseOrUnboxedArrayAddCompiler::getStub(ICStubSpace* space) | ^ 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_548(D) + 12B]' [-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:2729:30: note: 'cx' declared here 2729 | DoSetElemFallback(JSContext* cx, BaselineFrame* frame, ICSetElem_Fallback* stub_, Value* stack, | ~~~~~~~~~~~^~ 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::DoInFallback(JSContext*, js::jit::BaselineFrame*, js::jit::ICIn_Fallback*, JS::Handle, JS::Handle, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.cpp:3634:48: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'script' in 'MEM[(struct Rooted * *)cx_134(D) + 40B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.cpp: In function 'js::jit::DoInFallback(JSContext*, js::jit::BaselineFrame*, js::jit::ICIn_Fallback*, JS::Handle, JS::Handle, JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.cpp:3634:22: note: 'script' declared here 3634 | RootedScript script(cx, frame->script()); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.cpp:3607:25: note: 'cx' declared here 3607 | DoInFallback(JSContext* cx, BaselineFrame* frame, ICIn_Fallback* stub_, | ~~~~~~~~~~~^~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::StringObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::StringObject::init(JSContext*, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/vm/StringObject-inl.h:23:40, 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 'self' in 'MEM[(struct Rooted * *)cx_27(D) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.cpp:41: src/third_party/mozjs-45/extract/js/src/vm/StringObject-inl.h: In function 'js::StringObject::create(JSContext*, JS::Handle, JS::Handle, js::NewObjectKind)': src/third_party/mozjs-45/extract/js/src/vm/StringObject-inl.h:23:27: note: 'self' declared here 23 | Rooted self(cx, this); | ^~~~ src/third_party/mozjs-45/extract/js/src/vm/StringObject-inl.h:36:33: note: 'cx' declared here 36 | StringObject::create(JSContext* cx, HandleString str, HandleObject proto, NewObjectKind newKind) | ~~~~~~~~~~~^~ 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) + 52B]' [-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:5774:30: note: 'cx' declared here 5774 | TryAttachCallStub(JSContext* cx, ICCall_Fallback* stub, HandleScript script, jsbytecode* pc, | ~~~~~~~~~~~^~ 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::jit::DoInstanceOfFallback(JSContext*, js::jit::BaselineFrame*, js::jit::ICInstanceOf_Fallback*, JS::Handle, JS::Handle, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.cpp:8005:50: 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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.cpp: In function 'js::jit::DoInstanceOfFallback(JSContext*, js::jit::BaselineFrame*, js::jit::ICInstanceOf_Fallback*, JS::Handle, JS::Handle, JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.cpp:8005:20: note: 'fun' declared here 8005 | RootedFunction fun(cx, &obj->as()); | ^~~ src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.cpp:7976:33: note: 'cx' declared here 7976 | DoInstanceOfFallback(JSContext* cx, BaselineFrame* frame, ICInstanceOf_Fallback* stub, | ~~~~~~~~~~~^~ 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::DoCallFallback(JSContext*, js::jit::BaselineFrame*, js::jit::ICCall_Fallback*, unsigned int, JS::Value*, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.cpp:6110: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_278(D) + 52B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.cpp: In function 'js::jit::DoCallFallback(JSContext*, js::jit::BaselineFrame*, js::jit::ICCall_Fallback*, unsigned int, JS::Value*, JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.cpp:6110:17: note: 'thisv' declared here 6110 | RootedValue thisv(cx, vp[1]); | ^~~~~ src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.cpp:6092:27: note: 'cx' declared here 6092 | DoCallFallback(JSContext* cx, BaselineFrame* frame, ICCall_Fallback* stub_, uint32_t argc, | ~~~~~~~~~~~^~ 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_443(D) + 12B]' [-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:4701:30: note: 'cx' declared here 4701 | DoSetPropFallback(JSContext* cx, BaselineFrame* frame, ICSetProp_Fallback* stub_, | ~~~~~~~~~~~^~ 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::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:1765:32: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'lhsCopy' in 'MEM[(struct Rooted * *)cx_594(D) + 52B]' [-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:1765:17: note: 'lhsCopy' declared here 1765 | RootedValue lhsCopy(cx, lhs); | ^~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.cpp:1751:30: note: 'cx' declared here 1751 | DoGetElemFallback(JSContext* cx, BaselineFrame* frame, ICGetElem_Fallback* stub_, HandleValue lhs, | ~~~~~~~~~~~^~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move 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/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, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return 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/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return 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::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::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::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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_atan.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 /usr/bin/python3 buildscripts/idl/idlc.py --include src --base_dir build/fedora --target_arch i386 --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 i386 --header build/fedora/mongo/s/database_version_gen.h --output build/fedora/mongo/s/database_version_gen.cpp src/mongo/s/database_version.idl 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 /usr/bin/python3 buildscripts/idl/idlc.py --include src --base_dir build/fedora --target_arch i386 --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 /usr/bin/python3 buildscripts/idl/idlc.py --include src --base_dir build/fedora --target_arch i386 --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 /usr/bin/python3 buildscripts/idl/idlc.py --include src --base_dir build/fedora --target_arch i386 --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 In file included from src/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++/13/bits/stl_pair.h:194: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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/db/db.cpp In file included from src/mongo/util/options_parser/option_section.h:29, from src/mongo/db/mongod_options.h:38, from src/mongo/db/db.cpp:93: src/mongo/util/options_parser/option_description.h:190:24: warning: identifier 'requires' is a keyword in C++20 [-Wc++20-compat] 190 | OptionDescription& requires(const std::string& otherDottedName); | ^~~~~~~~ In file included from src/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 { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() 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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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_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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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, 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() 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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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/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 ar rcsTD build/fedora/mongo/libmongodmain.a build/fedora/mongo/db/db.o Skipping ranlib for thin archive build/fedora/mongo/libmongodmain.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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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/i386/linux/include -Ibuild/fedora -Isrc src/mongo/scripting/mozjs/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/util/mongoutils/str.h:43, from 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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 In file included from /usr/include/string.h:535, from /usr/include/c++/13/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:731: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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/icu4c-57.1/source/i18n/decContext.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 Using tempfile /tmp/tmpcsb3wym7.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/tmpcsb3wym7.lnk Skipping ranlib for thin archive build/fedora/third_party/icu4c-57.1/source/libicu_i18n.a 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/util/assert_util.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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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 { | ^~~~~ /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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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_acos.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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/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 g++ -o build/fedora/third_party/mozjs-45/platform/i386/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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/i386/linux/build -Isrc/third_party/mozjs-45/platform/i386/linux/build -Ibuild/fedora/third_party/mozjs-45/platform/i386/linux/include -Isrc/third_party/mozjs-45/platform/i386/linux/include src/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src23.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/i386/linux/build/Unified_cpp_js_src23.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/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 | ^~~~~~~~ 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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/third_party/mozjs-45/extract/js/src/jsutil.h:17, from src/third_party/mozjs-45/extract/js/src/jsdtoa.cpp:15, from src/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src23.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/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 | ^~~~~~~~~~~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_atanh.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C 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/i386/linux/build/Unified_cpp_js_src23.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 | ^~~~~~~~~~~~~~~~ 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 | ^~~~~~~~~~~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 In file included from src/third_party/mozjs-45/extract/js/src/jsapi.h:29, from src/third_party/mozjs-45/extract/js/src/jsexn.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 | ^~~~~~~~~~~~~~ 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 | ^~~~~~~~~~~~~~ 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 = 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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/i386/linux/include -Ibuild/fedora -Isrc src/mongo/scripting/mozjs/regexp.cpp 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/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 { | ^~~~~~~~ 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: 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_404(D) + 52B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src23.cpp:47: 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:1010:38: note: 'cx' declared here 1010 | legacy_iterator_next_impl(JSContext* cx, const CallArgs& args) | ~~~~~~~~~~~^~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with 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&, decltype(nullptr)&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'Error(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/jsexn.cpp:326:37: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'message' in 'MEM[(struct Rooted * *)cx_210(D) + 28B]' [-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:326:18: note: 'message' declared here 326 | RootedString message(cx, nullptr); | ^~~~~~~ src/third_party/mozjs-45/extract/js/src/jsexn.cpp:316:18: note: 'cx' declared here 316 | Error(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move 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 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) + 28B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src23.cpp:20: 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:219:31: note: 'cx' declared here 219 | DefineHelpProperty(JSContext* cx, HandleObject obj, const char* prop, const char* value) | ~~~~~~~~~~~^~ src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move 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::Value const&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'FormatValue(JSContext*, JS::Value const&, JSAutoByteString&) [clone .constprop.0] [clone .isra.0]' at src/third_party/mozjs-45/extract/js/src/jsfriendapi.cpp:660:27: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'v' in 'MEM[(struct Rooted * *)cx_1(D) + 52B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsfriendapi.cpp: In function 'FormatValue(JSContext*, JS::Value const&, JSAutoByteString&) [clone .constprop.0] [clone .isra.0]': src/third_party/mozjs-45/extract/js/src/jsfriendapi.cpp:660:17: note: 'v' declared here 660 | RootedValue v(cx, vArg); | ^ src/third_party/mozjs-45/extract/js/src/jsfriendapi.cpp:658:24: note: 'cx' declared here 658 | FormatValue(JSContext* cx, const Value& vArg, JSAutoByteString& bytes) | ~~~~~~~~~~~^~ src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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 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_88(D) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src23.cpp:29: 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:146:32: note: 'cx' declared here 146 | ArgumentsGetterImpl(JSContext* cx, const CallArgs& args) | ~~~~~~~~~~~^~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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::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_132(D) + 12B]' [-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:465:37: note: 'cx' declared here 465 | ErrorObject::createProto(JSContext* cx, JSProtoKey key) | ~~~~~~~~~~~^~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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 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 'NewFunctionClone(JSContext*, JS::Handle, js::NewObjectKind, js::gc::AllocKind, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/jsfun.cpp:2121:38: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'cloneProto' in 'MEM[(struct Rooted * *)cx_85(D) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsfun.cpp: In function 'NewFunctionClone(JSContext*, JS::Handle, js::NewObjectKind, js::gc::AllocKind, JS::Handle)': src/third_party/mozjs-45/extract/js/src/jsfun.cpp:2121:18: note: 'cloneProto' declared here 2121 | RootedObject cloneProto(cx, proto); | ^~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsfun.cpp:2118:29: note: 'cx' declared here 2118 | NewFunctionClone(JSContext* cx, HandleFunction fun, NewObjectKind newKind, | ~~~~~~~~~~~^~ 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::ErrorFromException(JSContext*, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/jsexn.cpp:294:49: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_28(D) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsexn.cpp: In function 'js::ErrorFromException(JSContext*, JS::Handle)': src/third_party/mozjs-45/extract/js/src/jsexn.cpp:294:18: note: 'obj' declared here 294 | RootedObject obj(cx, UncheckedUnwrap(objArg)); | ^~~ src/third_party/mozjs-45/extract/js/src/jsexn.cpp:286:35: note: 'cx' declared here 286 | js::ErrorFromException(JSContext* cx, HandleObject objArg) | ~~~~~~~~~~~^~ 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) + 28B]' [-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:613:36: note: 'cx' declared here 613 | js::ErrorReportToString(JSContext* cx, JSErrorReport* reportp) | ~~~~~~~~~~~^~ 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_387(D) + 28B]' [-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:750:30: note: 'cx' declared here 750 | ErrorReport::init(JSContext* cx, HandleValue exn) | ~~~~~~~~~~~^~ 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_FindCompilationScope(JSContext*, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/jsfriendapi.cpp:75: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_41(D) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsfriendapi.cpp: In function 'JS_FindCompilationScope(JSContext*, JS::Handle)': src/third_party/mozjs-45/extract/js/src/jsfriendapi.cpp:75:18: note: 'obj' declared here 75 | RootedObject obj(cx, objArg); | ^~~ src/third_party/mozjs-45/extract/js/src/jsfriendapi.cpp:73:36: note: 'cx' declared here 73 | JS_FindCompilationScope(JSContext* cx, HandleObject objArg) | ~~~~~~~~~~~^~ 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_33(D) + 12B]' [-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:122:39: note: 'cx' declared here 122 | JS_NewObjectWithUniqueType(JSContext* cx, const JSClass* clasp, HandleObject proto) | ~~~~~~~~~~~^~ 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) + 12B]' [-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:394:62: note: 'cx' declared here 394 | js::GetOutermostEnclosingFunctionOfScriptedCaller(JSContext* cx) | ~~~~~~~~~~~^~ 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) + 12B]' [-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:1079:36: note: 'cx' declared here 1079 | js::GetTestingFunctions(JSContext* cx) | ~~~~~~~~~~~^~ 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 'JSFunction::createScriptForLazilyInterpretedFunction(JSContext*, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/jsfun.cpp:1352:52: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'script' in 'MEM[(struct Rooted * *)cx_284(D) + 40B]' [-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:1352:22: note: 'script' declared here 1352 | RootedScript script(cx, lazy->maybeScript()); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/jsfun.cpp:1337:65: note: 'cx' declared here 1337 | JSFunction::createScriptForLazilyInterpretedFunction(JSContext* cx, HandleFunction fun) | ~~~~~~~~~~~^~ 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 'fun_resolve(JSContext*, JS::Handle, JS::Handle, bool*)' at src/third_party/mozjs-45/extract/js/src/jsfun.cpp:426:50: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'fun' in 'MEM[(struct Rooted * *)cx_118(D) + 12B]' [-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:426:20: note: 'fun' declared here 426 | RootedFunction fun(cx, &obj->as()); | ^~~ src/third_party/mozjs-45/extract/js/src/jsfun.cpp:421:24: note: 'cx' declared here 421 | fun_resolve(JSContext* cx, HandleObject obj, HandleId id, bool* resolvedp) | ~~~~~~~~~~~^~ 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::ReportIncompatibleMethod(JSContext*, JS::CallReceiver, js::Class const*)' at src/third_party/mozjs-45/extract/js/src/jsfun.cpp:2323:39: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'thisv' in 'MEM[(struct Rooted * *)cx_46(D) + 52B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsfun.cpp: In function 'js::ReportIncompatibleMethod(JSContext*, JS::CallReceiver, js::Class const*)': src/third_party/mozjs-45/extract/js/src/jsfun.cpp:2323:17: note: 'thisv' declared here 2323 | RootedValue thisv(cx, call.thisv()); | ^~~~~ src/third_party/mozjs-45/extract/js/src/jsfun.cpp:2321:41: note: 'cx' declared here 2321 | js::ReportIncompatibleMethod(JSContext* cx, CallReceiver call, const Class* clasp) | ~~~~~~~~~~~^~ 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) + 12B]' [-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:7734:32: note: 'cx' declared here 7734 | NewMemoryInfoObject(JSContext* cx) | ~~~~~~~~~~~^~ 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) + 12B]' [-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:913:38: note: 'cx' declared here 913 | js::CreateItrResultObject(JSContext* cx, HandleValue value, bool done) | ~~~~~~~~~~~^~ In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::LegacyGeneratorObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::CloseIterator(JSContext*, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/jsiter.cpp:1193:84: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'genObj' in 'MEM[(struct Rooted * *)cx_59(D) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsiter.cpp: In function 'js::CloseIterator(JSContext*, JS::Handle)': src/third_party/mozjs-45/extract/js/src/jsiter.cpp:1193:40: note: 'genObj' declared here 1193 | Rooted genObj(cx, &obj->as()); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/jsiter.cpp:1174:30: note: 'cx' declared here 1174 | js::CloseIterator(JSContext* cx, HandleObject obj) | ~~~~~~~~~~~^~ 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_86(D) + 28B]' [-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:1339:40: note: 'cx' declared here 1339 | js::SuppressDeletedProperty(JSContext* cx, HandleObject obj, jsid id) | ~~~~~~~~~~~^~ 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::SuppressDeletedElement(JSContext*, JS::Handle, unsigned int)' at src/third_party/mozjs-45/extract/js/src/jsiter.cpp:1353: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_30(D) + 48B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsiter.cpp: In function 'js::SuppressDeletedElement(JSContext*, JS::Handle, unsigned int)': src/third_party/mozjs-45/extract/js/src/jsiter.cpp:1353:14: note: 'id' declared here 1353 | RootedId id(cx); | ^~ src/third_party/mozjs-45/extract/js/src/jsiter.cpp:1351:39: note: 'cx' declared here 1351 | js::SuppressDeletedElement(JSContext* cx, HandleObject obj, uint32_t index) | ~~~~~~~~~~~^~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/util/options_parser/option_section.h:29, from src/mongo/db/server_options_server_helpers.h:33, from src/mongo/db/server_options_server_helpers.cpp:31: src/mongo/util/options_parser/option_description.h:190:24: warning: identifier 'requires' is a keyword in C++20 [-Wc++20-compat] 190 | OptionDescription& requires(const std::string& otherDottedName); | ^~~~~~~~ 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_332(D) + 12B]' [-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:389:25: note: 'cx' declared here 389 | exn_toSource(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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::IdToFunctionName(JSContext*, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/jsfun.cpp:2262:62: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'desc' in 'MEM[(struct Rooted * *)cx_86(D) + 28B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsfun.cpp: In function 'js::IdToFunctionName(JSContext*, JS::Handle)': src/third_party/mozjs-45/extract/js/src/jsfun.cpp:2262:20: note: 'desc' declared here 2262 | RootedAtom desc(cx, JSID_TO_SYMBOL(id)->description()); | ^~~~ src/third_party/mozjs-45/extract/js/src/jsfun.cpp:2256:33: note: 'cx' declared here 2256 | js::IdToFunctionName(JSContext* cx, HandleId id) | ~~~~~~~~~~~^~ 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::FunctionToString(JSContext*, JS::Handle, bool)' at src/third_party/mozjs-45/extract/js/src/jsfun.cpp:935:27: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'script' in 'MEM[(struct Rooted * *)cx_295(D) + 40B]' [-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:935:18: note: 'script' declared here 935 | RootedScript script(cx); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/jsfun.cpp:924:33: note: 'cx' declared here 924 | js::FunctionToString(JSContext* cx, HandleFunction fun, bool lambdaParen) | ~~~~~~~~~~~^~ 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_61(D) + 12B]' [-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:1126:29: note: 'cx' declared here 1126 | js::fun_toString(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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) + 12B]' [-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:1150:25: note: 'cx' declared here 1150 | fun_toSource(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from 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: 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 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 'EnumerateExtraProperties(JSContext*, JS::Handle, unsigned int, mozilla::Maybe >&, JS::AutoVectorRooter*)' at src/third_party/mozjs-45/extract/js/src/jsiter.cpp:139: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_59(D) + 48B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsiter.cpp: In function 'EnumerateExtraProperties(JSContext*, JS::Handle, unsigned int, mozilla::Maybe >&, JS::AutoVectorRooter*)': src/third_party/mozjs-45/extract/js/src/jsiter.cpp:139:14: note: 'id' declared here 139 | RootedId id(cx); | ^~ src/third_party/mozjs-45/extract/js/src/jsiter.cpp:129:37: note: 'cx' declared here 129 | EnumerateExtraProperties(JSContext* cx, HandleObject obj, unsigned flags, Maybe& ht, | ~~~~~~~~~~~^~ 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 'Snapshot(JSContext*, JS::Handle, unsigned int, JS::AutoVectorRooter*)' at src/third_party/mozjs-45/extract/js/src/jsiter.cpp:398:51: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'desc' in 'MEM[(struct Rooted * *)cx_238(D) + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsiter.cpp: In function 'Snapshot(JSContext*, JS::Handle, unsigned int, JS::AutoVectorRooter*)': src/third_party/mozjs-45/extract/js/src/jsiter.cpp:398:44: note: 'desc' declared here 398 | Rooted desc(cx); | ^~~~ src/third_party/mozjs-45/extract/js/src/jsiter.cpp:355:21: note: 'cx' declared here 355 | Snapshot(JSContext* cx, HandleObject pobj_, unsigned flags, AutoIdVector* props) | ~~~~~~~~~~~^~ 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::NewFunctionWithProto(js::ExclusiveContext*, bool (*)(JSContext*, unsigned int, JS::Value*), unsigned int, JSFunction::Flags, JS::Handle, JS::Handle, JS::Handle, js::gc::AllocKind, js::NewObjectKind, js::NewFunctionProtoHandling)' at src/third_party/mozjs-45/extract/js/src/jsfun.cpp:2060:53: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'fun' in 'MEM[(struct Rooted * *)cx_91(D) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsfun.cpp: In function 'js::NewFunctionWithProto(js::ExclusiveContext*, bool (*)(JSContext*, unsigned int, JS::Value*), unsigned int, JSFunction::Flags, JS::Handle, JS::Handle, JS::Handle, js::gc::AllocKind, js::NewObjectKind, js::NewFunctionProtoHandling)': src/third_party/mozjs-45/extract/js/src/jsfun.cpp:2060:20: note: 'fun' declared here 2060 | RootedFunction fun(cx, &funobj->as()); | ^~~ src/third_party/mozjs-45/extract/js/src/jsfun.cpp:2032:44: note: 'cx' declared here 2032 | js::NewFunctionWithProto(ExclusiveContext* cx, Native native, | ~~~~~~~~~~~~~~~~~~^~ 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 'FunctionConstructor(JSContext*, unsigned int, JS::Value*, js::GeneratorKind)' at src/third_party/mozjs-45/extract/js/src/jsfun.cpp:1798:28: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'str' in 'MEM[(struct Rooted * *)cx_556(D) + 28B]' [-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:1798:22: note: 'str' declared here 1798 | RootedString str(cx); | ^~~ src/third_party/mozjs-45/extract/js/src/jsfun.cpp:1740:32: note: 'cx' declared here 1740 | FunctionConstructor(JSContext* cx, unsigned argc, Value* vp, GeneratorKind generatorKind) | ~~~~~~~~~~~^~ 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_108(D) + 28B]' [-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:2274:31: note: 'cx' declared here 2274 | js::DefineFunction(JSContext* cx, HandleObject obj, HandleId id, Native native, | ~~~~~~~~~~~^~ 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) + 12B]' [-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:230:39: note: 'cx' declared here 230 | JS_DefineFunctionsWithHelp(JSContext* cx, HandleObject obj, const JSFunctionSpecWithHelp* fs) | ~~~~~~~~~~~^~ 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) + 12B]' [-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:2155:41: note: 'cx' declared here 2155 | js::CloneFunctionReuseScript(JSContext* cx, HandleFunction fun, HandleObject parent, | ~~~~~~~~~~~^~ 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_158(D) + 24B]' [-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:539:38: note: 'cx' declared here 539 | NewPropertyIteratorObject(JSContext* cx, unsigned flags) | ~~~~~~~~~~~^~ 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) + 12B]' [-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:655:32: note: 'cx' declared here 655 | VectorToKeyIterator(JSContext* cx, HandleObject obj, unsigned flags, AutoIdVector& keys, | ~~~~~~~~~~~^~ 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) + 12B]' [-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:692:34: note: 'cx' declared here 692 | VectorToValueIterator(JSContext* cx, HandleObject obj, unsigned flags, AutoIdVector& keys, | ~~~~~~~~~~~^~ 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) + 12B]' [-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:729:41: note: 'cx' declared here 729 | js::NewEmptyPropertyIterator(JSContext* cx, unsigned flags, MutableHandleObject objp) | ~~~~~~~~~~~^~ 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::ValueToIterator(JSContext*, unsigned int, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/jsiter.cpp:1145:24: 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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsiter.cpp: In function 'js::ValueToIterator(JSContext*, unsigned int, JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/jsiter.cpp:1145:18: note: 'obj' declared here 1145 | RootedObject obj(cx); | ^~~ src/third_party/mozjs-45/extract/js/src/jsiter.cpp:1140:32: note: 'cx' declared here 1140 | js::ValueToIterator(JSContext* cx, unsigned flags, MutableHandleValue vp) | ~~~~~~~~~~~^~ 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_48(D) + 12B]' [-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:1459:44: note: 'cx' declared here 1459 | GlobalObject::initIteratorProto(JSContext* cx, Handle global) | ~~~~~~~~~~~^~ 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_67(D) + 12B]' [-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:1549:39: note: 'cx' declared here 1549 | js::InitStopIterationClass(JSContext* cx, HandleObject obj) | ~~~~~~~~~~~^~ 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_71(D) + 12B]' [-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:1492:50: note: 'cx' declared here 1492 | GlobalObject::initStringIteratorProto(JSContext* cx, Handle global) | ~~~~~~~~~~~^~ 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_71(D) + 12B]' [-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:1473:49: note: 'cx' declared here 1473 | GlobalObject::initArrayIteratorProto(JSContext* cx, Handle global) | ~~~~~~~~~~~^~ 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::fun_bind(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/jsfun.cpp:1633:26: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'proto' in 'MEM[(struct Rooted * *)cx_416(D) + 12B]' [-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:1633:18: note: 'proto' declared here 1633 | RootedObject proto(cx); | ^~~~~ src/third_party/mozjs-45/extract/js/src/jsfun.cpp:1608:25: note: 'cx' declared here 1608 | js::fun_bind(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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/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 { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.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/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return 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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return 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, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move 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 src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return 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:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with 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::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=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 In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/pipeline/value.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 { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 In file included from src/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 { | ^~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from 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 { | ^~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/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/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from 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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = 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/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/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move 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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return 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, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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 src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move 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_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_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_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 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:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 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::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::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:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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 { | ^~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/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); | ^ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=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 g++ -o build/fedora/third_party/mozjs-45/platform/i386/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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/i386/linux/build -Isrc/third_party/mozjs-45/platform/i386/linux/build -Ibuild/fedora/third_party/mozjs-45/platform/i386/linux/include -Isrc/third_party/mozjs-45/platform/i386/linux/include src/third_party/mozjs-45/platform/i386/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/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/RegisterSets.h:13, from src/third_party/mozjs-45/extract/js/src/jit/x86-shared/Architecture-x86-shared.cpp:12, from src/third_party/mozjs-45/platform/i386/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/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/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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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/i386/linux/include -Ibuild/fedora -Isrc src/mongo/scripting/mozjs/engine.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/x86/MacroAssembler-x86.h:12, from src/third_party/mozjs-45/extract/js/src/jit/MacroAssembler.h:16, 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/Assembler-x86-shared.cpp:8, from src/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src19.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 | ^~~~~~~~~~~~~~ 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/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 = 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 g++ -o build/fedora/third_party/mozjs-45/platform/i386/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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/i386/linux/build -Isrc/third_party/mozjs-45/platform/i386/linux/build -Ibuild/fedora/third_party/mozjs-45/platform/i386/linux/include -Isrc/third_party/mozjs-45/platform/i386/linux/include src/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src27.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/jsobjinlines.h:15, from src/third_party/mozjs-45/extract/js/src/proxy/ScriptedDirectProxyHandler.cpp:11, from src/third_party/mozjs-45/platform/i386/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/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/jsobjinlines.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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ 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, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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/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/ScriptedDirectProxyHandler.h:10, from src/third_party/mozjs-45/extract/js/src/proxy/ScriptedDirectProxyHandler.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 = 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/builtin/MapObject.h:13, from src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:17: 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/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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/platform/i386/linux/build/Unified_cpp_js_src27.cpp:38: 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/i386/linux/build/Unified_cpp_js_src27.cpp:47: 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 | ^~~~~~~~~~~~~~ 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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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++/13/bits/stl_pair.h:194: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/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 'js::ScriptedDirectProxyHandler::getPrototype(JSContext*, JS::Handle, JS::MutableHandle) const' at src/third_party/mozjs-45/extract/js/src/proxy/ScriptedDirectProxyHandler.cpp:160: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_32(D) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/proxy/ScriptedDirectProxyHandler.cpp: In member function 'js::ScriptedDirectProxyHandler::getPrototype(JSContext*, JS::Handle, JS::MutableHandle) const': src/third_party/mozjs-45/extract/js/src/proxy/ScriptedDirectProxyHandler.cpp:160:18: note: 'target' declared here 160 | RootedObject target(cx, proxy->as().target()); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/proxy/ScriptedDirectProxyHandler.cpp:157:53: note: 'cx' declared here 157 | ScriptedDirectProxyHandler::getPrototype(JSContext* cx, HandleObject proxy, | ~~~~~~~~~~~^~ 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_32(D) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:1116:48: note: 'cx' declared here 1116 | ScriptedDirectProxyHandler::isArray(JSContext* cx, HandleObject proxy, | ~~~~~~~~~~~^~ In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::MappedArgumentsObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::MappedArgumentsObject::obj_resolve(JSContext*, JS::Handle, JS::Handle, bool*)' at src/third_party/mozjs-45/extract/js/src/vm/ArgumentsObject.cpp:404:81: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'argsobj' in 'MEM[(struct Rooted * *)cx_64(D) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/ArgumentsObject.cpp: In function 'js::MappedArgumentsObject::obj_resolve(JSContext*, JS::Handle, JS::Handle, bool*)': src/third_party/mozjs-45/extract/js/src/vm/ArgumentsObject.cpp:404:36: note: 'argsobj' declared here 404 | Rooted argsobj(cx, &obj->as()); | ^~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/ArgumentsObject.cpp:402:47: note: 'cx' declared here 402 | MappedArgumentsObject::obj_resolve(JSContext* cx, HandleObject obj, HandleId id, bool* resolvedp) | ~~~~~~~~~~~^~ In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::UnmappedArgumentsObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::UnmappedArgumentsObject::obj_resolve(JSContext*, JS::Handle, JS::Handle, bool*)' at src/third_party/mozjs-45/extract/js/src/vm/ArgumentsObject.cpp:520: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_68(D) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/ArgumentsObject.cpp: In function 'js::UnmappedArgumentsObject::obj_resolve(JSContext*, JS::Handle, JS::Handle, bool*)': src/third_party/mozjs-45/extract/js/src/vm/ArgumentsObject.cpp:520:38: note: 'argsobj' declared here 520 | Rooted argsobj(cx, &obj->as()); | ^~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/ArgumentsObject.cpp:518:49: note: 'cx' declared here 518 | UnmappedArgumentsObject::obj_resolve(JSContext* cx, HandleObject obj, HandleId id, bool* resolvedp) | ~~~~~~~~~~~^~ 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_166(D) + 12B]' [-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:990:45: note: 'cx' declared here 990 | ScriptedDirectProxyHandler::call(JSContext* cx, HandleObject proxy, const CallArgs& args) 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 '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_55(D) + 12B]' [-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:1255:24: note: 'cx' declared here 1255 | RevokeProxy(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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_127(D) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src27.cpp:11: 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:354:53: note: 'cx' declared here 354 | ScriptedIndirectProxyHandler::derivedSet(JSContext* cx, HandleObject proxy, HandleId id, | ~~~~~~~~~~~^~ 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_147(D) + 12B]' [-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:1190:29: note: 'cx' declared here 1190 | NewScriptedProxy(JSContext* cx, CallArgs& args, const char* callerName) | ~~~~~~~~~~~^~ 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_133(D) + 12B]' [-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:1276:32: note: 'cx' declared here 1276 | js::proxy_revocable(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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::InitArrayBufferClass(JSContext*, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/vm/ArrayBufferObject.cpp:1614:70: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'global' in 'MEM[(struct Rooted * *)cx_150(D) + 12B]' [-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:1614:27: note: 'global' declared here 1614 | Rooted global(cx, cx->compartment()->maybeGlobal()); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/vm/ArrayBufferObject.cpp:1612:37: note: 'cx' declared here 1612 | js::InitArrayBufferClass(JSContext* cx, HandleObject obj) | ~~~~~~~~~~~^~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/shard_util.cpp 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_204(D) + 12B]' [-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:1033:50: note: 'cx' declared here 1033 | ScriptedDirectProxyHandler::construct(JSContext* cx, HandleObject proxy, const CallArgs& args) 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::GetElement(JSContext*, JS::Handle, JS::Handle, unsigned int, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:188:19, inlined from 'js::GetElement(JSContext*, JS::Handle, JS::Handle, unsigned int, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:199:22, inlined from 'ArrayToIdVector(JSContext*, JS::Value const&, JS::AutoVectorRooter&)' at src/third_party/mozjs-45/extract/js/src/proxy/ScriptedIndirectProxyHandler.cpp:100:24: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'id' in 'MEM[(struct Rooted * *)cx_119(D) + 48B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsobjinlines.h: In function 'ArrayToIdVector(JSContext*, JS::Value const&, JS::AutoVectorRooter&)': src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:188:14: note: 'id' declared here 188 | RootedId id(cx); | ^~ src/third_party/mozjs-45/extract/js/src/proxy/ScriptedIndirectProxyHandler.cpp:84:28: note: 'cx' declared here 84 | ArrayToIdVector(JSContext* cx, const Value& array, AutoIdVector& props) | ~~~~~~~~~~~^~ 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 'CreateFilteredListFromArrayLike(JSContext*, JS::Handle, JS::AutoVectorRooter&)' at src/third_party/mozjs-45/extract/js/src/proxy/ScriptedDirectProxyHandler.cpp:509:46, inlined from 'js::ScriptedDirectProxyHandler::ownPropertyKeys(JSContext*, JS::Handle, JS::AutoVectorRooter&) const' at src/third_party/mozjs-45/extract/js/src/proxy/ScriptedDirectProxyHandler.cpp:580:41: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_380(D) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/proxy/ScriptedDirectProxyHandler.cpp: In member function 'js::ScriptedDirectProxyHandler::ownPropertyKeys(JSContext*, JS::Handle, JS::AutoVectorRooter&) const': src/third_party/mozjs-45/extract/js/src/proxy/ScriptedDirectProxyHandler.cpp:509:18: note: 'obj' declared here 509 | RootedObject obj(cx, NonNullObject(cx, v)); | ^~~ src/third_party/mozjs-45/extract/js/src/proxy/ScriptedDirectProxyHandler.cpp:545:56: note: 'cx' declared here 545 | ScriptedDirectProxyHandler::ownPropertyKeys(JSContext* cx, HandleObject proxy, | ~~~~~~~~~~~^~ 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) + 12B]' [-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:161:50: note: 'cx' declared here 161 | ArgumentsObject::createTemplateObject(JSContext* cx, bool mapped) | ~~~~~~~~~~~^~ 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_191(D) + 12B]' [-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:518:37: note: 'cx' declared here 518 | js::proxy_createFunction(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ src/mongo/s/shard_util.cpp: In function 'mongo::StatusWith mongo::shardutil::retrieveTotalShardSize(mongo::OperationContext*, const mongo::ShardId&)': src/mongo/s/shard_util.cpp:75:25: warning: redundant move in initialization [-Wredundant-move] 75 | return std::move(listDatabasesStatus.getStatus()); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/s/shard_util.cpp:75:25: note: remove 'std::move' call 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:118:25: warning: redundant move in initialization [-Wredundant-move] 118 | return std::move(cmdStatus.getStatus()); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ src/mongo/s/shard_util.cpp:118:25: note: remove 'std::move' call 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++/13/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:731:14, inlined from 'mongo::BSONObjBuilder::append(mongo::StringData, std::vector > const&)mongo::BSONObjBuilder&' at src/mongo/bson/bsonobjbuilder.h:970: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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 In file included from src/mongo/util/options_parser/option_section.h:29, from src/mongo/util/options_parser/startup_options.h:30, from src/mongo/util/options_parser/options_parser_init.cpp:29: src/mongo/util/options_parser/option_description.h:190:24: warning: identifier 'requires' is a keyword in C++20 [-Wc++20-compat] 190 | OptionDescription& requires(const std::string& otherDottedName); | ^~~~~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 In file included from src/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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/float128/dpml_ux_pow.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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/bid32_to_int8.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from 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:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() 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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; 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:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; 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::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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/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++/13/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:731: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)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 /usr/bin/python3 buildscripts/idl/idlc.py --include src --base_dir build/fedora --target_arch i386 --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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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++/13/bits/stl_pair.h:194: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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/options_parser/options_parser.cpp:48: src/mongo/util/options_parser/option_description.h:190:24: warning: identifier 'requires' is a keyword in C++20 [-Wc++20-compat] 190 | OptionDescription& requires(const std::string& otherDottedName); | ^~~~~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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.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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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 In file included from src/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 { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.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/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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, long 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move 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/libdbhelpers.a build/fedora/mongo/db/dbhelpers.o Skipping ranlib for thin archive build/fedora/mongo/db/libdbhelpers.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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ 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 src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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 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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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/i386/linux/include -Ibuild/fedora -Isrc src/mongo/scripting/mozjs/numberlong.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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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/bid32_fma.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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/i386/linux/include -Ibuild/fedora -Isrc src/mongo/scripting/mozjs/maxkey.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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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/i386/linux/include -Ibuild/fedora -Isrc src/mongo/scripting/mozjs/idwrapper.cpp 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move 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_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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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 { | ^~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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/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) {} | ~~~~~~~~~~~^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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 /usr/include/string.h:535, from /usr/include/c++/13/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: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::dur::preallocPath(int)' at src/mongo/db/storage/mmap_v1/dur_journal.cpp:381:49: /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)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 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)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 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::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, 509] 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [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/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_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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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_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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from /usr/include/string.h:535, from /usr/include/c++/13/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)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 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::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, 468] 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/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 { | ^~~~~~~~~~~~ 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 { | ^~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from 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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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_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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/util/options_parser/option_section.h:29, from src/mongo/db/mongod_options.h:38, from src/mongo/db/storage/mmap_v1/mmap_v1_engine.cpp:42: src/mongo/util/options_parser/option_description.h:190:24: warning: identifier 'requires' is a keyword in C++20 [-Wc++20-compat] 190 | OptionDescription& requires(const std::string& otherDottedName); | ^~~~~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/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 { | ^~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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/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/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/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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/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 { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from 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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* 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 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 src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move 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/libkill_sessions.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 src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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/i386/linux/include -Ibuild/fedora -Isrc src/mongo/scripting/mozjs/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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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/stats/libcounters.a build/fedora/mongo/db/stats/counters.o Skipping ranlib for thin archive build/fedora/mongo/db/stats/libcounters.a 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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/i386/linux/include -Ibuild/fedora -Isrc src/mongo/scripting/mozjs/implscope.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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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/string.h:535, from src/third_party/mozjs-45/include/js/Utility.h:19, from src/third_party/mozjs-45/include/jsalloc.h:18, from src/third_party/mozjs-45/include/jsapi.h:24, from src/mongo/scripting/mozjs/implscope.h:31, from src/mongo/scripting/mozjs/implscope.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::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::mozjs::MozJSImplScope::localConnectForDbEval(mongo::OperationContext*, char const*)::{lambda()#1}::operator()() const' at src/mongo/scripting/mozjs/implscope.cpp:840:79, inlined from 'mongo::mozjs::MozJSImplScope::_runSafely(mongo::mozjs::MozJSImplScope::localConnectForDbEval(mongo::OperationContext*, char const*)::{lambda()#1}&&)decltype ({parm#1}())' at src/mongo/scripting/mozjs/implscope.cpp:519:29, inlined from 'mongo::mozjs::MozJSImplScope::localConnectForDbEval(mongo::OperationContext*, char const*)' at src/mongo/scripting/mozjs/implscope.cpp:812:15: /usr/include/bits/string_fortified.h:29:33: warning: 'memcpy' offset [0, 487] 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/libintrospect.a build/fedora/mongo/db/introspect.o Skipping ranlib for thin archive build/fedora/mongo/db/libintrospect.a 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/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 { | ^~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from 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 { | ^~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from 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 { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.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 { | ^~~~~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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/i386/linux/include -Ibuild/fedora -Isrc src/mongo/scripting/mozjs/jsthread.cpp 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* 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/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 { | ^~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::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() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 /usr/bin/python3 buildscripts/idl/idlc.py --include src --base_dir build/fedora --target_arch i386 --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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 In file included from src/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::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::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::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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/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 { | ^~~~~~~~~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/db/pipeline/value.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 { | ^~~~~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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 { | ^~~~~~~~~~~~ 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 { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/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/pipeline/value.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 { | ^~~~~~~~ In file included from /usr/include/string.h:535, from /usr/include/c++/13/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)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/bin/python3 buildscripts/idl/idlc.py --include src --base_dir build/fedora --target_arch i386 --header build/fedora/mongo/db/repl/dbcheck_gen.h --output build/fedora/mongo/db/repl/dbcheck_gen.cpp src/mongo/db/repl/dbcheck.idl 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from 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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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/bid128_cosh.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS src/third_party/shim_boost.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 { | ^~~~~ /usr/bin/python3 buildscripts/idl/idlc.py --include src --base_dir build/fedora --target_arch i386 --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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move 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 /usr/include/c++/13/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:731:14, inlined from 'mongo::BSONObjBuilder::append(mongo::StringData, std::vector > const&)mongo::BSONObjBuilder&' at src/mongo/bson/bsonobjbuilder.h:970: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)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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 i386 --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_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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 src/mongo/s/async_requests_sender.cpp: In member function 'boost::optional mongo::AsyncRequestsSender::_ready()': src/mongo/s/async_requests_sender.cpp:163:42: warning: redundant move in initialization [-Wredundant-move] 163 | std::move(remote.swResponse->getStatus()), | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/s/async_requests_sender.cpp:163:42: note: remove 'std::move' call 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 /usr/bin/python3 buildscripts/idl/idlc.py --include src --base_dir build/fedora --target_arch i386 --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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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/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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from 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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::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, 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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [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/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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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, 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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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++/13/bits/stl_pair.h:194: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::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/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 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 src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/util/stringutils.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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/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 { | ^~~~~~~~~~~~ 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 src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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, 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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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 { | ^~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 /usr/bin/python3 buildscripts/idl/idlc.py --include src --base_dir build/fedora --target_arch i386 --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 /usr/bin/python3 buildscripts/idl/idlc.py --include src --base_dir build/fedora --target_arch i386 --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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move 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/bid128_to_int8.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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++/13/bits/stl_pair.h:194: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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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 /usr/include/string.h:535, from /usr/include/c++/13/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::operator<<(mongo::StringData)' at src/mongo/bson/util/builder.h:441:15, inlined from 'mongo::operator<< (mongo::StringBuilderImpl&, mongo::ShardId const&)mongo::StringBuilderImpl&' at src/mongo/s/shard_id.h:106:19, inlined from 'mongoutils::str::stream::operator<< (mongo::ShardId const&)mongoutils::str::stream&' at src/mongo/util/mongoutils/str.h:66:12, inlined from 'mongo::(anonymous namespace)::shardCollection(mongo::OperationContext*, mongo::NamespaceString const&, boost::optional, mongo::ShardKeyPattern const&, mongo::BSONObj const&, bool, std::vector > const&, std::vector > const&, bool, mongo::ShardId const&, int)' at src/mongo/db/s/shardsvr_shard_collection.cpp:485:17: /usr/include/bits/string_fortified.h:29:33: warning: 'memcpy' offset [0, 481] 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::operator<< (mongo::StringBuilderImpl&, mongo::ShardId const&)mongo::StringBuilderImpl&' at src/mongo/s/shard_id.h:106:19, inlined from 'mongoutils::str::stream::operator<< (mongo::ShardId const&)mongoutils::str::stream&' at src/mongo/util/mongoutils/str.h:66:12, inlined from 'mongo::(anonymous namespace)::shardCollection(mongo::OperationContext*, mongo::NamespaceString const&, boost::optional, mongo::ShardKeyPattern const&, mongo::BSONObj const&, bool, std::vector > const&, std::vector > const&, bool, mongo::ShardId const&, int)' at src/mongo/db/s/shardsvr_shard_collection.cpp:489:17: /usr/include/bits/string_fortified.h:29:33: warning: 'memcpy' offset [0, 481] 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/shard_id.cpp 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 { | ^~~~~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from 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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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/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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 /usr/bin/python3 buildscripts/idl/idlc.py --include src --base_dir build/fedora --target_arch i386 --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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from 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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = 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/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/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move 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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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_asinh.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS src/third_party/shim_zlib.cpp 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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/i386/linux/include -Ibuild/fedora -Isrc src/mongo/scripting/mozjs/exception.cpp 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/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/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/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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, 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::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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::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 { | ^~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/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/third_party/mozjs-45/platform/i386/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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/i386/linux/build -Isrc/third_party/mozjs-45/platform/i386/linux/build -Ibuild/fedora/third_party/mozjs-45/platform/i386/linux/include -Isrc/third_party/mozjs-45/platform/i386/linux/include src/third_party/mozjs-45/platform/i386/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/ScopeObject.h:10, from src/third_party/mozjs-45/extract/js/src/vm/ScopeObject-inl.h:10, from src/third_party/mozjs-45/extract/js/src/vm/ScopeObject.cpp:7, from src/third_party/mozjs-45/platform/i386/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 | ^~~~~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 In file included from src/third_party/mozjs-45/extract/js/src/vm/ScopeObject-inl.h:13: 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 | ^~~~~~~~ /usr/bin/python3 buildscripts/idl/idlc.py --include src --base_dir build/fedora --target_arch i386 --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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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*) [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/i386/linux/build/Unified_cpp_js_src33.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/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::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 = 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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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 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 'intrinsic_DefineDataProperty(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/vm/SelfHosting.cpp:328: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_120(D) + 48B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src33.cpp:11: src/third_party/mozjs-45/extract/js/src/vm/SelfHosting.cpp: In function 'intrinsic_DefineDataProperty(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/vm/SelfHosting.cpp:328:14: note: 'id' declared here 328 | RootedId id(cx); | ^~ src/third_party/mozjs-45/extract/js/src/vm/SelfHosting.cpp:320:41: note: 'cx' declared here 320 | intrinsic_DefineDataProperty(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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 'intrinsic_ToString(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/vm/SelfHosting.cpp:103:24: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'str' in 'MEM[(struct Rooted * *)cx_33(D) + 28B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/SelfHosting.cpp: In function 'intrinsic_ToString(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/vm/SelfHosting.cpp:103:18: note: 'str' declared here 103 | RootedString str(cx); | ^~~ src/third_party/mozjs-45/extract/js/src/vm/SelfHosting.cpp:100:31: note: 'cx' declared here 100 | intrinsic_ToString(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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 'intrinsic_ToPropertyKey(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/vm/SelfHosting.cpp:115: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_54(D) + 48B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/SelfHosting.cpp: In function 'intrinsic_ToPropertyKey(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/vm/SelfHosting.cpp:115:14: note: 'id' declared here 115 | RootedId id(cx); | ^~ src/third_party/mozjs-45/extract/js/src/vm/SelfHosting.cpp:112:36: note: 'cx' declared here 112 | intrinsic_ToPropertyKey(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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 '(anonymous namespace)::DebugScopeProxy::has(JSContext*, JS::Handle, JS::Handle, bool*) const' at src/third_party/mozjs-45/extract/js/src/vm/ScopeObject.cpp:2204:28: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'id' in 'MEM[(struct Rooted * *)cx_128(D) + 48B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/ScopeObject.cpp: In member function '(anonymous namespace)::DebugScopeProxy::has(JSContext*, JS::Handle, JS::Handle, bool*) const': src/third_party/mozjs-45/extract/js/src/vm/ScopeObject.cpp:2204:18: note: 'id' declared here 2204 | RootedId id(cx, id_); | ^~ src/third_party/mozjs-45/extract/js/src/vm/ScopeObject.cpp:2202:25: note: 'cx' declared here 2202 | bool has(JSContext* cx, HandleObject proxy, HandleId id_, bool* bp) const override | ~~~~~~~~~~~^~ 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) + 12B]' [-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:460:39: note: 'cx' declared here 460 | intrinsic_NewArrayIterator(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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_51(D) + 12B]' [-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:511:38: note: 'cx' declared here 511 | intrinsic_NewListIterator(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::Shape*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'GetUnclonedValue(JSContext*, JS::Handle, JS::Handle, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/vm/SelfHosting.cpp:1850: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_131(D) + 16B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/SelfHosting.cpp: In function 'GetUnclonedValue(JSContext*, JS::Handle, JS::Handle, JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/vm/SelfHosting.cpp:1850:17: note: 'shape' declared here 1850 | RootedShape shape(cx, selfHostedObject->lookupPure(id)); | ^~~~~ src/third_party/mozjs-45/extract/js/src/vm/SelfHosting.cpp:1824:29: note: 'cx' declared here 1824 | GetUnclonedValue(JSContext* cx, HandleNativeObject selfHostedObject, | ~~~~~~~~~~~^~ 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) + 12B]' [-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:493:40: note: 'cx' declared here 493 | intrinsic_NewStringIterator(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted&>(JSContext* const&, JS::MutableHandle&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'JSCompartment::wrap(JSContext*, JS::MutableHandle, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/jscompartmentinlines.h:106:29: 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) + 52B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jscompartmentinlines.h: In member function 'JSCompartment::wrap(JSContext*, JS::MutableHandle, JS::Handle)': src/third_party/mozjs-45/extract/js/src/jscompartmentinlines.h:106:21: note: 'v' declared here 106 | JS::RootedValue v(cx, vp); | ^ src/third_party/mozjs-45/extract/js/src/jscompartmentinlines.h:57:32: note: 'cx' declared here 57 | JSCompartment::wrap(JSContext* cx, JS::MutableHandleValue vp, JS::HandleObject existing) | ~~~~~~~~~~~^~ 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::CheckGlobalDeclarationConflicts(JSContext*, JS::Handle, JS::Handle, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/vm/ScopeObject.cpp:3209:31: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'name' in 'MEM[(struct Rooted * *)cx_76(D) + 28B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/ScopeObject.cpp: In function 'js::CheckGlobalDeclarationConflicts(JSContext*, JS::Handle, JS::Handle, JS::Handle)': src/third_party/mozjs-45/extract/js/src/vm/ScopeObject.cpp:3209:24: note: 'name' declared here 3209 | RootedPropertyName name(cx); | ^~~~ src/third_party/mozjs-45/extract/js/src/vm/ScopeObject.cpp:3199:48: note: 'cx' declared here 3199 | js::CheckGlobalDeclarationConflicts(JSContext* cx, HandleScript script, | ~~~~~~~~~~~^~ 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 'CheckVarNameConflictsInScope(JSContext*, JS::Handle, JS::Handle)bool' at src/third_party/mozjs-45/extract/js/src/vm/ScopeObject.cpp:3231:21, inlined from 'js::CheckEvalDeclarationConflicts(JSContext*, JS::Handle, JS::Handle, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/vm/ScopeObject.cpp:3272:61: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'scope' in 'MEM[(struct Rooted * *)cx_43(D) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/ScopeObject.cpp: In function 'js::CheckEvalDeclarationConflicts(JSContext*, JS::Handle, JS::Handle, JS::Handle)': src/third_party/mozjs-45/extract/js/src/vm/ScopeObject.cpp:3231:21: note: 'scope' declared here 3231 | Rooted scope(cx); | ^~~~~ src/third_party/mozjs-45/extract/js/src/vm/ScopeObject.cpp:3257:46: note: 'cx' declared here 3257 | js::CheckEvalDeclarationConflicts(JSContext* cx, HandleScript script, | ~~~~~~~~~~~^~ 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_134(D) + 40B]' [-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:2041:53: note: 'cx' declared here 2041 | JSRuntime::cloneSelfHostedFunctionScript(JSContext* cx, HandlePropertyName name, | ~~~~~~~~~~~^~ 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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src33.cpp:29: 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:353:43: note: 'cx' declared here 353 | js::InitSharedArrayBufferClass(JSContext* cx, HandleObject obj) | ~~~~~~~~~~~^~ 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::FrameIter::matchCallee(JSContext*, JS::Handle) const' at src/third_party/mozjs-45/extract/js/src/vm/Stack.cpp:1194:54: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'currentCallee' in 'MEM[(struct Rooted * *)cx_76(D) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Stack.cpp: In member function 'js::FrameIter::matchCallee(JSContext*, JS::Handle) const': src/third_party/mozjs-45/extract/js/src/vm/Stack.cpp:1194:20: note: 'currentCallee' declared here 1194 | RootedFunction currentCallee(cx, calleeTemplate()); | ^~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Stack.cpp:1192:35: note: 'cx' declared here 1192 | FrameIter::matchCallee(JSContext* cx, HandleFunction fun) const | ~~~~~~~~~~~^~ In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JS::Value const&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::InterpreterFrame::initExecuteFrame(JSContext*, JS::Handle, js::AbstractFramePtr, JS::Value const&, JS::Handle, js::ExecuteType)' at src/third_party/mozjs-45/extract/js/src/vm/Stack.cpp:51:45: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'newTarget' in 'MEM[(struct Rooted * *)cx_108(D) + 52B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Stack.cpp: In member function 'js::InterpreterFrame::initExecuteFrame(JSContext*, JS::Handle, js::AbstractFramePtr, JS::Value const&, JS::Handle, js::ExecuteType)': src/third_party/mozjs-45/extract/js/src/vm/Stack.cpp:51:17: note: 'newTarget' declared here 51 | RootedValue newTarget(cx, newTargetValue); | ^~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Stack.cpp:36:47: note: 'cx' declared here 36 | InterpreterFrame::initExecuteFrame(JSContext* cx, HandleScript script, AbstractFramePtr evalInFramePrev, | ~~~~~~~~~~~^~ 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_156(D) + 40B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:3089:57: note: 'cx' declared here 3089 | js::GetThisValueForDebuggerMaybeOptimizedOut(JSContext* cx, AbstractFramePtr frame, jsbytecode* pc, | ~~~~~~~~~~~^~ 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 'js::NativeObject::getChildPropertyOnDictionary(js::ExclusiveContext*, JS::Handle, JS::Handle, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/vm/Shape.cpp:384: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_94(D) + 16B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src33.cpp:20: src/third_party/mozjs-45/extract/js/src/vm/Shape.cpp: In function 'js::NativeObject::getChildPropertyOnDictionary(js::ExclusiveContext*, JS::Handle, JS::Handle, JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/vm/Shape.cpp:384:17: note: 'shape' declared here 384 | RootedShape shape(cx); | ^~~~~ src/third_party/mozjs-45/extract/js/src/vm/Shape.cpp:350:62: note: 'cx' declared here 350 | NativeObject::getChildPropertyOnDictionary(ExclusiveContext* cx, HandleNativeObject obj, | ~~~~~~~~~~~~~~~~~~^~ In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::ScopeObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from '(anonymous namespace)::DebugScopeProxy::ownPropertyKeys(JSContext*, JS::Handle, JS::AutoVectorRooter&) const' at src/third_party/mozjs-45/extract/js/src/vm/ScopeObject.cpp:2160:78: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'scope' in 'MEM[(struct Rooted * *)cx_152(D) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/ScopeObject.cpp: In member function '(anonymous namespace)::DebugScopeProxy::ownPropertyKeys(JSContext*, JS::Handle, JS::AutoVectorRooter&) const': src/third_party/mozjs-45/extract/js/src/vm/ScopeObject.cpp:2160:30: note: 'scope' declared here 2160 | Rooted scope(cx, &proxy->as().scope()); | ^~~~~ src/third_party/mozjs-45/extract/js/src/vm/ScopeObject.cpp:2158:37: note: 'cx' declared here 2158 | bool ownPropertyKeys(JSContext* cx, HandleObject proxy, AutoIdVector& props) const override | ~~~~~~~~~~~^~ 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::putProperty(js::ExclusiveContext*, JS::Handle, JS::Handle, bool (*)(JSContext*, JS::Handle, JS::Handle, JS::MutableHandle), bool (*)(JSContext*, JS::Handle, JS::Handle, JS::MutableHandle, JS::ObjectOpResult&), unsigned int, unsigned int, unsigned int)' at src/third_party/mozjs-45/extract/js/src/vm/Shape.cpp:716:83: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'shape' in 'MEM[(struct Rooted * *)cx_308(D) + 16B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Shape.cpp: In function 'js::NativeObject::putProperty(js::ExclusiveContext*, JS::Handle, JS::Handle, bool (*)(JSContext*, JS::Handle, JS::Handle, JS::MutableHandle), bool (*)(JSContext*, JS::Handle, JS::Handle, JS::MutableHandle, JS::ObjectOpResult&), unsigned int, unsigned int, unsigned int)': src/third_party/mozjs-45/extract/js/src/vm/Shape.cpp:716:17: note: 'shape' declared here 716 | RootedShape shape(cx, Shape::search(cx, obj->lastProperty(), id, &entry, true)); | ^~~~~ src/third_party/mozjs-45/extract/js/src/vm/Shape.cpp:686:45: note: 'cx' declared here 686 | NativeObject::putProperty(ExclusiveContext* cx, HandleNativeObject obj, HandleId id, | ~~~~~~~~~~~~~~~~~~^~ 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_233(D) + 16B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:911:48: note: 'cx' declared here 911 | NativeObject::removeProperty(ExclusiveContext* cx, jsid id_) | ~~~~~~~~~~~~~~~~~~^~ 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 int, 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_129(D) + 20B]' [-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 int, 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:1487:47: note: 'cx' declared here 1487 | EmptyShape::getInitialShape(ExclusiveContext* cx, const Class* clasp, TaggedProto proto, | ~~~~~~~~~~~~~~~~~~^~ In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::Shape*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::ReshapeForAllocKind(JSContext*, js::Shape*, js::TaggedProto, js::gc::AllocKind)' at src/third_party/mozjs-45/extract/js/src/vm/Shape.cpp:631:97: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'newShape' in 'MEM[(struct Rooted * *)cx_185(D) + 16B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Shape.cpp: In function 'js::ReshapeForAllocKind(JSContext*, js::Shape*, js::TaggedProto, js::gc::AllocKind)': src/third_party/mozjs-45/extract/js/src/vm/Shape.cpp:630:17: note: 'newShape' declared here 630 | RootedShape newShape(cx, EmptyShape::getInitialShape(cx, shape->getObjectClass(), | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Shape.cpp:608:36: note: 'cx' declared here 608 | js::ReshapeForAllocKind(JSContext* cx, Shape* shape, TaggedProto proto, | ~~~~~~~~~~~^~ 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 'JSObject::setFlags(js::ExclusiveContext*, js::BaseShape::Flag, JSObject::GenerateShape)' at src/third_party/mozjs-45/extract/js/src/vm/Shape.cpp:1143:31: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'self' in 'MEM[(struct Rooted * *)cx_76(D) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Shape.cpp: In member function 'JSObject::setFlags(js::ExclusiveContext*, js::BaseShape::Flag, JSObject::GenerateShape)': src/third_party/mozjs-45/extract/js/src/vm/Shape.cpp:1143:18: note: 'self' declared here 1143 | RootedObject self(cx, this); | ^~~~ src/third_party/mozjs-45/extract/js/src/vm/Shape.cpp:1138:38: note: 'cx' declared here 1138 | JSObject::setFlags(ExclusiveContext* cx, BaseShape::Flag flags, GenerateShape generateShape) | ~~~~~~~~~~~~~~~~~~^~ 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) + 12B]' [-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:1236:39: note: 'cx' declared here 1236 | js::CloneNestedScopeObject(JSContext* cx, HandleObject enclosingScope, Handle srcBlock) | ~~~~~~~~~~~^~ 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_36(D) + 12B]' [-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:577:34: note: 'cx' declared here 577 | DeclEnvObject::create(JSContext* cx, HandleObject enclosing, HandleFunction callee) | ~~~~~~~~~~~^~ 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) + 12B]' [-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:804:48: note: 'cx' declared here 804 | NonSyntacticVariablesObject::create(JSContext* cx, Handle globalLexical) | ~~~~~~~~~~~^~ 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) + 12B]' [-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:3018:48: note: 'cx' declared here 3018 | js::CreateScopeObjectsForScopeChain(JSContext* cx, AutoObjectVector& scopeChain, | ~~~~~~~~~~~^~ In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::StringObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::StringObject::init(JSContext*, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/vm/StringObject-inl.h:23:40, 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 'self' in 'MEM[(struct Rooted * *)cx_27(D) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/SelfHosting.cpp:48: src/third_party/mozjs-45/extract/js/src/vm/StringObject-inl.h: In function 'js::StringObject::create(JSContext*, JS::Handle, JS::Handle, js::NewObjectKind)': src/third_party/mozjs-45/extract/js/src/vm/StringObject-inl.h:23:27: note: 'self' declared here 23 | Rooted self(cx, this); | ^~~~ src/third_party/mozjs-45/extract/js/src/vm/StringObject-inl.h:36:33: note: 'cx' declared here 36 | StringObject::create(JSContext* cx, HandleString str, HandleObject proto, NewObjectKind newKind) | ~~~~~~~~~~~^~ In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, decltype(nullptr)&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::DebugScopes::onPopCall(js::AbstractFramePtr, JSContext*)' at src/third_party/mozjs-45/extract/js/src/vm/ScopeObject.cpp:2555:53: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'debugScope' in 'MEM[(struct Rooted * *)cx_204(D) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/ScopeObject.cpp: In function 'js::DebugScopes::onPopCall(js::AbstractFramePtr, JSContext*)': src/third_party/mozjs-45/extract/js/src/vm/ScopeObject.cpp:2555:31: note: 'debugScope' declared here 2555 | Rooted debugScope(cx, nullptr); | ^~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/ScopeObject.cpp:2547:59: note: 'cx' declared here 2547 | DebugScopes::onPopCall(AbstractFramePtr frame, JSContext* cx) | ~~~~~~~~~~~^~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 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::InterpreterFrame::epilogue(JSContext*)' at src/third_party/mozjs-45/extract/js/src/vm/Stack.cpp:277:43: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'script' in 'MEM[(struct Rooted * *)cx_94(D) + 40B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Stack.cpp: In member function 'js::InterpreterFrame::epilogue(JSContext*)': src/third_party/mozjs-45/extract/js/src/vm/Stack.cpp:277:18: note: 'script' declared here 277 | RootedScript script(cx, this->script()); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Stack.cpp:275:39: note: 'cx' declared here 275 | InterpreterFrame::epilogue(JSContext* cx) | ~~~~~~~~~~~^~ 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_110(D) + 24B]' [-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:837:38: note: 'cx' declared here 837 | ClonedBlockObject::create(JSContext* cx, Handle block, HandleObject enclosing) | ~~~~~~~~~~~^~ 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_80(D) + 12B]' [-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:919:52: note: 'cx' declared here 919 | ClonedBlockObject::createHollowForDebug(JSContext* cx, Handle block) | ~~~~~~~~~~~^~ 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_85(D) + 12B]' [-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:952:37: note: 'cx' declared here 952 | ClonedBlockObject::clone(JSContext* cx, Handle clonedBlock) | ~~~~~~~~~~~^~ 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) + 12B]' [-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:880:44: note: 'cx' declared here 880 | ClonedBlockObject::createGlobal(JSContext* cx, Handle global) | ~~~~~~~~~~~^~ 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) + 12B]' [-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:899:50: note: 'cx' declared here 899 | ClonedBlockObject::createNonSyntactic(JSContext* cx, HandleObject enclosingStatic, | ~~~~~~~~~~~^~ 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_63(D) + 24B]' [-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:154:40: note: 'cx' declared here 154 | CallObject::createSingleton(JSContext* cx, HandleShape shape, uint32_t lexicalBegin) | ~~~~~~~~~~~^~ 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_71(D) + 24B]' [-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:180:45: note: 'cx' declared here 180 | CallObject::createTemplateObject(JSContext* cx, HandleScript script, gc::InitialHeap heap) | ~~~~~~~~~~~^~ 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) + 12B]' [-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:287:45: note: 'cx' declared here 287 | CallObject::createHollowForDebug(JSContext* cx, HandleFunction callee) | ~~~~~~~~~~~^~ In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::ScopeObject*&&)' 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:2817:47, 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 'scope' in 'MEM[(struct Rooted * *)cx_9(D) + 12B]' [-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:2817:26: note: 'scope' declared here 2817 | Rooted scope(cx, &si.scope()); | ^~~~~ src/third_party/mozjs-45/extract/js/src/vm/ScopeObject.cpp:2951:26: note: 'cx' declared here 2951 | GetDebugScope(JSContext* cx, const ScopeIter& si) | ~~~~~~~~~~~^~ 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_150(D) + 24B]' [-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:354:51: note: 'cx' declared here 354 | ModuleEnvironmentObject::create(ExclusiveContext* cx, HandleModuleObject module) | ~~~~~~~~~~~~~~~~~~^~ 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/client/parallel.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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move 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/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++/13/bits/stl_pair.h:194: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::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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 /usr/include/c++/13/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/repair_database_and_check_version.h:31, from src/mongo/db/repair_database_and_check_version.cpp:33: In function '*memchr', inlined from 'mongo::StringData::find(char, unsigned int) 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::repairDatabasesAndCheckVersion(mongo::OperationContext*)' at src/mongo/db/repair_database_and_check_version.cpp:515:73: /usr/include/string.h:102:27: warning: 'memchr' specified bound [4294967281, 4294967282] exceeds maximum object size 2147483647 [-Wstringop-overread] 102 | return __builtin_memchr (__s, __c, __n); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ In file included from /usr/include/c++/13/string:54, from /usr/include/c++/13/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/base/status_with.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++/13/bits/basic_string.h:2597: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::repairDatabasesAndCheckVersion(mongo::OperationContext*)' at src/mongo/db/repair_database_and_check_version.cpp:515:73: /usr/include/c++/13/bits/basic_string.h:223:28: note: source object allocated here 223 | { return _M_dataplus._M_p; } | ~~~~~~~~~~~~^~~~ In function '*memchr', inlined from 'mongo::StringData::find(char, unsigned int) 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::repairDatabasesAndCheckVersion(mongo::OperationContext*)' at src/mongo/db/repair_database_and_check_version.cpp:515:73: /usr/include/string.h:102:27: warning: 'memchr' specified bound [4294967283, 4294967295] exceeds maximum object size 2147483647 [-Wstringop-overread] 102 | return __builtin_memchr (__s, __c, __n); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ 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++/13/bits/basic_string.h:2597: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::repairDatabasesAndCheckVersion(mongo::OperationContext*)' at src/mongo/db/repair_database_and_check_version.cpp:515:73: /usr/include/c++/13/bits/basic_string.h:223:28: note: source object allocated here 223 | { return _M_dataplus._M_p; } | ~~~~~~~~~~~~^~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/util/exit.cpp 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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/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/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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() { | ^~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() 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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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/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 { | ^~~~~ 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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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/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++/13/bits/stl_pair.h:194: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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/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 { | ^~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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/string.h:535, from /usr/include/c++/13/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/s/config/sharding_catalog_manager.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::operator<<(mongo::StringData)' at src/mongo/bson/util/builder.h:441:15, inlined from 'mongoutils::str::stream::operator<< , std::allocator > >(std::__cxx11::basic_string, std::allocator > const&)mongoutils::str::stream&' at src/mongo/util/mongoutils/str.h:66:12, inlined from 'mongo::ShardingCatalogManager::dropCollection(mongo::OperationContext*, mongo::NamespaceString const&)' at src/mongo/db/s/config/sharding_catalog_manager_collection_operations.cpp:219:94: /usr/include/bits/string_fortified.h:29:33: warning: 'memcpy' offset [0, 477] 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/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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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, 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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 { | ^~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/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/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/util/options_parser/option_section.h:29, from src/mongo/db/server_options_server_helpers.h:33, from src/mongo/db/log_process_details.cpp:40: src/mongo/util/options_parser/option_description.h:190:24: warning: identifier 'requires' is a keyword in C++20 [-Wc++20-compat] 190 | OptionDescription& requires(const std::string& otherDottedName); | ^~~~~~~~ In file included from src/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 { | ^~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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 { | ^~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/pipeline/value.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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 g++ -o build/fedora/third_party/mozjs-45/platform/i386/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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/i386/linux/build -Isrc/third_party/mozjs-45/platform/i386/linux/build -Ibuild/fedora/third_party/mozjs-45/platform/i386/linux/include -Isrc/third_party/mozjs-45/platform/i386/linux/include src/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src21.cpp 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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 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/jit/FixedList.h:12, from src/third_party/mozjs-45/extract/js/src/jit/BaselineCompiler.h:10, from src/third_party/mozjs-45/extract/js/src/jit/x86/BaselineIC-x86.cpp:7, from src/third_party/mozjs-45/platform/i386/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 | ^~~~~~~~ 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/jit/BaselineFrameInfo.h:12, from src/third_party/mozjs-45/extract/js/src/jit/shared/BaselineCompiler-shared.h:10, from src/third_party/mozjs-45/extract/js/src/jit/x86-shared/BaselineCompiler-x86-shared.h:10, from src/third_party/mozjs-45/extract/js/src/jit/x86/BaselineCompiler-x86.h:10, from src/third_party/mozjs-45/extract/js/src/jit/BaselineCompiler.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 | ^~~~~~~~~~~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 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/FixedList.h:13: 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 = 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/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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from 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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/options_parser/option_section.h:29, from src/mongo/util/options_parser/startup_options.h:30, from src/mongo/util/options_parser/startup_options.cpp:29: src/mongo/util/options_parser/option_description.h:190:24: warning: identifier 'requires' is a keyword in C++20 [-Wc++20-compat] 190 | OptionDescription& requires(const std::string& otherDottedName); | ^~~~~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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 { | ^~~~~ 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/db/pipeline/value.h:33, from src/mongo/db/pipeline/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/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/rpc/object_check.cpp 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/sharding_initialization.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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/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++/13/bits/stl_pair.h:194: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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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/bid128_minmax.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/db/pipeline/value.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 { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 { | ^~~~~ 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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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_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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/db/pipeline/value.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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ g++ -o build/fedora/third_party/mozjs-45/platform/i386/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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/i386/linux/build -Isrc/third_party/mozjs-45/platform/i386/linux/build -Ibuild/fedora/third_party/mozjs-45/platform/i386/linux/include -Isrc/third_party/mozjs-45/platform/i386/linux/include src/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src12.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/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/i386/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 | ^~~~~~~~ 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/third_party/mozjs-45/extract/js/src/jit/Ion.cpp:50, from src/third_party/mozjs-45/platform/i386/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/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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/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/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 = 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 = 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 | ^~~~~~~~~~~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from 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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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 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 * *)_79 + 40B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/platform/i386/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:435:67: note: 'this' declared here 435 | IonBuilder::canInlineTarget(JSFunction* target, CallInfo& callInfo) | ^ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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, long 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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 { | ^~~~~ 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&, 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_368(D) + 40B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/platform/i386/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:3649:52: note: 'cx' declared here 3649 | jit::AnalyzeNewScriptDefiniteProperties(JSContext* cx, JSFunction* fun, | ~~~~~~~~~~~^~ 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from 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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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 { | ^~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 { | ^~~~~ g++ -o build/fedora/third_party/mozjs-45/platform/i386/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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/i386/linux/build -Isrc/third_party/mozjs-45/platform/i386/linux/build -Ibuild/fedora/third_party/mozjs-45/platform/i386/linux/include -Isrc/third_party/mozjs-45/platform/i386/linux/include src/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src6.cpp 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/i386/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 | ^~~~~~~~ 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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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 = 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 | ^~~~~~~~~~~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/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 { | ^~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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 { | ^~~~~ In file included from src/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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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/i386/linux/build -Isrc/third_party/mozjs-45/platform/i386/linux/build -Ibuild/fedora/third_party/mozjs-45/platform/i386/linux/include -Isrc/third_party/mozjs-45/platform/i386/linux/include src/third_party/mozjs-45/extract/js/src/perf/pm_stub.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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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::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/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 { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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::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 { | ^~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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 { | ^~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move 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/bid128_erfc.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 /usr/bin/python3 buildscripts/idl/idlc.py --include src --base_dir build/fedora --target_arch i386 --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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from 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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [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/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-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::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() 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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ 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:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; 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 = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__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::{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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 /usr/bin/python3 buildscripts/idl/idlc.py --include src --base_dir build/fedora --target_arch i386 --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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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_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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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 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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* 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++/13/bits/stl_pair.h:194: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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc build/fedora/mongo/shell/mongo.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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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_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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move 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_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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return 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 = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with 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/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from 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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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_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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/catalog_cache.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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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/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++/13/bits/stl_pair.h:194: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/catalog_cache.cpp: In member function 'mongo::CatalogCache::RefreshResult mongo::CatalogCache::_getCollectionRoutingInfoAt(mongo::OperationContext*, const mongo::NamespaceString&, boost::optional)': src/mongo/s/catalog_cache.cpp:208:38: warning: redundant move in initialization [-Wredundant-move] 208 | const auto dbInfo = std::move(swDbInfo.getValue()); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ src/mongo/s/catalog_cache.cpp:208:38: note: remove 'std::move' call 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/balancer_configuration.cpp 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/grid.cpp 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move 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/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/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return 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, 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/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return 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, std::shared_ptr, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194: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/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move 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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with 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: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::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/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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/client/connection_pool.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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 long unsigned int; 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from /usr/include/c++/13/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 int) 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 4294967295 exceeds maximum object size 2147483647 [-Wstringop-overread] 102 | return __builtin_memchr (__s, __c, __n); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ In file included from /usr/include/c++/13/string:54, from /usr/include/c++/13/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++/13/bits/basic_string.h:2597: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++/13/bits/basic_string.h:223:28: note: source object allocated here 223 | { return _M_dataplus._M_p; } | ~~~~~~~~~~~~^~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from 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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/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 { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [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 file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from 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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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, 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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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/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, long long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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 { | ^~~~~ /usr/bin/python3 buildscripts/idl/idlc.py --include src --base_dir build/fedora --target_arch i386 --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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from 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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 long 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/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 { | ^~~~~~~~ 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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long 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::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__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 In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202: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 { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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++/13/bits/stl_pair.h:194: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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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/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:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() 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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from 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 { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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++/13/bits/stl_pair.h:194: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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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/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 { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = 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/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 { | ^~~~~~~~~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190: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/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212: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/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return 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, long long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/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::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return 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:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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, 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: 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:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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::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 { | ^~~~~ /usr/bin/python3 buildscripts/idl/idlc.py --include src --base_dir build/fedora --target_arch i386 --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_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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/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 { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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, 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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ 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::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/util/text.cpp 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 /usr/bin/python3 buildscripts/idl/idlc.py --include src --base_dir build/fedora --target_arch i386 --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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/executor/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 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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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/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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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 { | ^~~~~ 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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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_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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/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 { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/rpc/factory.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 g++ -o build/fedora/third_party/mozjs-45/platform/i386/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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/i386/linux/build -Isrc/third_party/mozjs-45/platform/i386/linux/build -Ibuild/fedora/third_party/mozjs-45/platform/i386/linux/include -Isrc/third_party/mozjs-45/platform/i386/linux/include src/third_party/mozjs-45/platform/i386/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/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/jit/TypedObjectPrediction.h:10, from src/third_party/mozjs-45/extract/js/src/jit/TypedObjectPrediction.cpp:7, from src/third_party/mozjs-45/platform/i386/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/builtin/TypedObject.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 | ^~~~~~~~ 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 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, from src/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src18.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 | ^~~~~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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 | ^~~~~~~~~~~~~~ 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/VMFunctions.h:14, from src/third_party/mozjs-45/extract/js/src/jit/VMFunctions.cpp:7: 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/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 | ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/TypedObjectPrediction.h:11: 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 = 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 = 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 | ^~~~~~~~~~~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/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 { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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::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) + 12B]' [-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:383:22: note: 'cx' declared here 383 | ArrayJoin(JSContext* cx, HandleObject array, HandleString sep) | ~~~~~~~~~~~^~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 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::ToPropertyKey(JSContext*, JS::Value, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:577:33, inlined from 'js::jit::OperatorIn(JSContext*, JS::Handle, JS::Handle, bool*)' at src/third_party/mozjs-45/extract/js/src/jit/VMFunctions.cpp:541:25: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'key' in 'MEM[(struct Rooted * *)cx_36(D) + 52B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsobjinlines.h: In function 'js::jit::OperatorIn(JSContext*, JS::Handle, JS::Handle, bool*)': src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:577:17: note: 'key' declared here 577 | RootedValue key(cx, argument); | ^~~ src/third_party/mozjs-45/extract/js/src/jit/VMFunctions.cpp:538:23: note: 'cx' declared here 538 | OperatorIn(JSContext* cx, HandleValue key, HandleObject obj, bool* out) | ~~~~~~~~~~~^~ 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) + 40B]' [-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:1105:26: note: 'cx' declared here 1105 | RecompileImpl(JSContext* cx, bool force) | ~~~~~~~~~~~^~ In file included from src/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 { | ^~~~~ In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::StringObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::StringObject::init(JSContext*, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/vm/StringObject-inl.h:23:40, 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 'self' in 'MEM[(struct Rooted * *)cx_2(D) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/VMFunctions.cpp:27: src/third_party/mozjs-45/extract/js/src/vm/StringObject-inl.h: In function 'js::jit::NewStringObject(JSContext*, JS::Handle)': src/third_party/mozjs-45/extract/js/src/vm/StringObject-inl.h:23:27: note: 'self' declared here 23 | Rooted self(cx, this); | ^~~~ src/third_party/mozjs-45/extract/js/src/jit/VMFunctions.cpp:532:28: note: 'cx' declared here 532 | NewStringObject(JSContext* cx, HandleString str) | ~~~~~~~~~~~^~ 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) + 12B]' [-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:907:30: note: 'cx' declared here 907 | InitRestParameter(JSContext* cx, uint32_t length, Value* rest, HandleObject templateObj, | ~~~~~~~~~~~^~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/base/shim.cpp 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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/i386/linux/build -Isrc/third_party/mozjs-45/platform/i386/linux/build -Ibuild/fedora/third_party/mozjs-45/platform/i386/linux/include -Isrc/third_party/mozjs-45/platform/i386/linux/include src/third_party/mozjs-45/extract/js/src/jsutil.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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move 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/pipeline/value.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/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 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::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278: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::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move 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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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 { | ^~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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/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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() 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/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 { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() 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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return 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/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return 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::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/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 = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/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::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return 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:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::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::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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/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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move 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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::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::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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/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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/db/pipeline/value.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 { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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/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 { | ^~~~~~~~~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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/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 { | ^~~~~~~~ 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 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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_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_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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_lrintd.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::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/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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/is_mongos.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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::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 { | ^~~~~ 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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::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 { | ^~~~~ In file included from /usr/include/string.h:535, from /usr/include/c++/13/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:731:14, inlined from 'mongo::BSONObjBuilder::append(mongo::StringData, std::vector > const&)mongo::BSONObjBuilder& [clone .isra.0]' at src/mongo/bson/bsonobjbuilder.h:970: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)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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/bid_from_int.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS src/third_party/shim_snappy.cpp 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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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 { | ^~~~~ 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [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/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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from /usr/include/string.h:535, from /usr/include/c++/13/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 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::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)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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/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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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_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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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++/13/bits/stl_pair.h:194: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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/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/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() { | ^~~~~ In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return 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:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static 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/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() 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/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, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__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::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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_text_base.h:31, from src/mongo/db/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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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/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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from 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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from 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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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_hypot.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/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++/13/bits/stl_pair.h:194: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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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++/13/cstring:42, from src/mongo/base/string_data.h:33, from src/mongo/client/dbclientinterface.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(unsigned long long, int)mongo::StringBuilderImpl&' at src/mongo/bson/util/builder.h:520:19, inlined from 'mongo::StringBuilderImpl::operator<<(unsigned long long)' at src/mongo/bson/util/builder.h:417:30, inlined from 'mongoutils::str::stream::operator<< (unsigned long long const&)mongoutils::str::stream&' at src/mongo/util/mongoutils/str.h:66:12, inlined from 'mongo::(anonymous namespace)::setShardVersion(mongo::OperationContext*, mongo::DBClientBase*, std::__cxx11::basic_string, std::allocator > const&, mongo::ConnectionString const&, mongo::ChunkVersion, mongo::ChunkManager*, bool, mongo::BSONObj&)' at src/mongo/s/client/version_manager.cpp:142:84: /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, 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 src/mongo/executor/network_interface_tl.cpp: In member function 'virtual mongo::Status mongo::executor::NetworkInterfaceTL::setAlarm(mongo::Date_t, const std::function&, const mongo::transport::BatonHandle&)': src/mongo/executor/network_interface_tl.cpp:445:38: warning: redundant move in initialization [-Wredundant-move] 445 | baton->schedule(std::move(action)); | ~~~~~~~~~^~~~~~~~ src/mongo/executor/network_interface_tl.cpp:445:38: note: remove 'std::move' call src/mongo/executor/network_interface_tl.cpp:447:68: warning: redundant move in initialization [-Wredundant-move] 447 | _reactor->schedule(transport::Reactor::kPost, std::move(action)); | ~~~~~~~~~^~~~~~~~ src/mongo/executor/network_interface_tl.cpp:447:68: note: remove 'std::move' call 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/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 { | ^~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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/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 { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here 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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; 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::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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/third_party/mozjs-45/platform/i386/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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/i386/linux/build -Isrc/third_party/mozjs-45/platform/i386/linux/build -Ibuild/fedora/third_party/mozjs-45/platform/i386/linux/include -Isrc/third_party/mozjs-45/platform/i386/linux/include src/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src22.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/jsalloc.cpp:9, from src/third_party/mozjs-45/platform/i386/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/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/jsapi.cpp:90, from src/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src22.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/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 | ^~~~~~~~~~~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/third_party/mozjs-45/extract/js/src/jsalloc.h:18, from src/third_party/mozjs-45/extract/js/src/jsalloc.cpp:7: 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/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::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 | ^~~~~~~~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from 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:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() 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_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 { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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 { | ^~~~~ In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::DateObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'date_setUTCHours_impl(JSContext*, JS::CallArgs const&)' at src/third_party/mozjs-45/extract/js/src/jsdate.cpp:2003:78: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'dateObj' in 'MEM[(struct Rooted * *)cx_249(D) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src22.cpp:47: src/third_party/mozjs-45/extract/js/src/jsdate.cpp: In function 'date_setUTCHours_impl(JSContext*, JS::CallArgs const&)': src/third_party/mozjs-45/extract/js/src/jsdate.cpp:2003:25: note: 'dateObj' declared here 2003 | Rooted dateObj(cx, &args.thisv().toObject().as()); | ^~~~~~~ src/third_party/mozjs-45/extract/js/src/jsdate.cpp:2001:34: note: 'cx' declared here 2001 | date_setUTCHours_impl(JSContext* cx, const CallArgs& args) | ~~~~~~~~~~~^~ In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::DateObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'date_setUTCFullYear_impl(JSContext*, JS::CallArgs const&)' at src/third_party/mozjs-45/extract/js/src/jsdate.cpp:2266:78: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'dateObj' in 'MEM[(struct Rooted * *)cx_254(D) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsdate.cpp: In function 'date_setUTCFullYear_impl(JSContext*, JS::CallArgs const&)': src/third_party/mozjs-45/extract/js/src/jsdate.cpp:2266:25: note: 'dateObj' declared here 2266 | Rooted dateObj(cx, &args.thisv().toObject().as()); | ^~~~~~~ src/third_party/mozjs-45/extract/js/src/jsdate.cpp:2264:37: note: 'cx' declared here 2264 | date_setUTCFullYear_impl(JSContext* cx, const CallArgs& args) | ~~~~~~~~~~~^~ 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_180(D) + 28B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:2774:37: note: 'cx' declared here 2774 | date_toLocaleFormat_impl(JSContext* cx, const CallArgs& args) | ~~~~~~~~~~~^~ 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 'date_toString_impl(JSContext*, JS::CallArgs const&)' at src/third_party/mozjs-45/extract/js/src/jsdate.cpp:2891:31: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'unboxed' in 'MEM[(struct Rooted * *)cx_185(D) + 52B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsdate.cpp: In function 'date_toString_impl(JSContext*, JS::CallArgs const&)': src/third_party/mozjs-45/extract/js/src/jsdate.cpp:2891:21: note: 'unboxed' declared here 2891 | RootedValue unboxed(cx); | ^~~~~~~ src/third_party/mozjs-45/extract/js/src/jsdate.cpp:2875:31: note: 'cx' declared here 2875 | date_toString_impl(JSContext* cx, const CallArgs& args) | ~~~~~~~~~~~^~ In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::DateObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'date_valueOf_impl(JSContext*, JS::CallArgs const&)' at src/third_party/mozjs-45/extract/js/src/jsdate.cpp:2913:78: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'dateObj' in 'MEM[(struct Rooted * *)cx_64(D) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsdate.cpp: In function 'date_valueOf_impl(JSContext*, JS::CallArgs const&)': src/third_party/mozjs-45/extract/js/src/jsdate.cpp:2913:25: note: 'dateObj' declared here 2913 | Rooted dateObj(cx, &args.thisv().toObject().as()); | ^~~~~~~ src/third_party/mozjs-45/extract/js/src/jsdate.cpp:2911:30: note: 'cx' declared here 2911 | date_valueOf_impl(JSContext* cx, const CallArgs& args) | ~~~~~~~~~~~^~ In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::DateObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'date_valueOf_impl(JSContext*, JS::CallArgs const&)' at src/third_party/mozjs-45/extract/js/src/jsdate.cpp:2913:78, inlined from 'JS::CallNonGenericMethod<&(IsDate(JS::Handle)), &(date_valueOf_impl(JSContext*, JS::CallArgs const&))>(JSContext*, JS::CallArgs const&)bool' at src/third_party/mozjs-45/include/js/CallNonGenericMethod.h:100:20, inlined from 'js::date_valueOf(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/jsdate.cpp:2922:59: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'dateObj' in 'MEM[(struct Rooted * *)cx_4(D) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsdate.cpp: In function 'js::date_valueOf(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/jsdate.cpp:2913:25: note: 'dateObj' declared here 2913 | Rooted dateObj(cx, &args.thisv().toObject().as()); | ^~~~~~~ src/third_party/mozjs-45/extract/js/src/jsdate.cpp:2919:29: note: 'cx' declared here 2919 | js::date_valueOf(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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 'date_toString_impl(JSContext*, JS::CallArgs const&)' at src/third_party/mozjs-45/extract/js/src/jsdate.cpp:2891:31, inlined from 'JS::CallNonGenericMethod<&(IsObject(JS::Handle)), &(date_toString_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_toString(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/jsdate.cpp:2907:62: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'unboxed' in 'MEM[(struct Rooted * *)cx_4(D) + 52B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsdate.cpp: In function 'date_toString(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/jsdate.cpp:2891:21: note: 'unboxed' declared here 2891 | RootedValue unboxed(cx); | ^~~~~~~ src/third_party/mozjs-45/extract/js/src/jsdate.cpp:2903:26: note: 'cx' declared here 2903 | date_toString(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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 'DefineElement(JSContext*, JS::Handle, unsigned int, JS::Handle, unsigned int, bool (*)(JSContext*, unsigned int, JS::Value*), bool (*)(JSContext*, unsigned int, JS::Value*))' at src/third_party/mozjs-45/extract/js/src/jsapi.cpp:2391: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_57(D) + 48B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsapi.cpp: In function 'DefineElement(JSContext*, JS::Handle, unsigned int, JS::Handle, unsigned int, bool (*)(JSContext*, unsigned int, JS::Value*), bool (*)(JSContext*, unsigned int, JS::Value*))': src/third_party/mozjs-45/extract/js/src/jsapi.cpp:2391:14: note: 'id' declared here 2391 | RootedId id(cx); | ^~ src/third_party/mozjs-45/extract/js/src/jsapi.cpp:2385:26: note: 'cx' declared here 2385 | DefineElement(JSContext* cx, HandleObject obj, uint32_t index, HandleValue value, | ~~~~~~~~~~~^~ ar rcsTD build/fedora/third_party/libshim_boost.a build/fedora/third_party/shim_boost.o Skipping ranlib for thin archive build/fedora/third_party/libshim_boost.a 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 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) + 12B]' [-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:1057:36: note: 'cx' declared here 1057 | JS_ResolveStandardClass(JSContext* cx, HandleObject obj, HandleId id, bool* resolved) | ~~~~~~~~~~~^~ 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_GetIteratorPrototype(JSContext*)' at src/third_party/mozjs-45/extract/js/src/jsapi.cpp:1227:50: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'global' in 'MEM[(struct Rooted * *)cx_23(D) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsapi.cpp: In function 'JS_GetIteratorPrototype(JSContext*)': src/third_party/mozjs-45/extract/js/src/jsapi.cpp:1227:27: note: 'global' declared here 1227 | Rooted global(cx, cx->global()); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/jsapi.cpp:1224:36: note: 'cx' declared here 1224 | JS_GetIteratorPrototype(JSContext* cx) | ~~~~~~~~~~~^~ 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_StringToId(JSContext*, JS::Handle, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/jsapi.cpp:1612:46: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'value' in 'MEM[(struct Rooted * *)cx_27(D) + 52B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsapi.cpp: In function 'JS_StringToId(JSContext*, JS::Handle, JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/jsapi.cpp:1612:17: note: 'value' declared here 1612 | RootedValue value(cx, StringValue(string)); | ^~~~~ src/third_party/mozjs-45/extract/js/src/jsapi.cpp:1607:26: note: 'cx' declared here 1607 | JS_StringToId(JSContext* cx, HandleString string, MutableHandleId idp) | ~~~~~~~~~~~^~ 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) + 12B]' [-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:1862:37: note: 'cx' declared here 1862 | JS_FireOnNewGlobalObject(JSContext* cx, JS::HandleObject global) | ~~~~~~~~~~~^~ 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_HasElement(JSContext*, JS::Handle, unsigned int, bool*)' at src/third_party/mozjs-45/extract/js/src/jsapi.cpp:2483: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_35(D) + 48B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsapi.cpp: In function 'JS_HasElement(JSContext*, JS::Handle, unsigned int, bool*)': src/third_party/mozjs-45/extract/js/src/jsapi.cpp:2483:14: note: 'id' declared here 2483 | RootedId id(cx); | ^~ src/third_party/mozjs-45/extract/js/src/jsapi.cpp:2479:26: note: 'cx' declared here 2479 | JS_HasElement(JSContext* cx, HandleObject obj, uint32_t index, bool* foundp) | ~~~~~~~~~~~^~ 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::GetElement(JSContext*, JS::Handle, JS::Handle, unsigned int, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:188:19, inlined from 'js::GetElement(JSContext*, JS::Handle, JS::Handle, unsigned int, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:199:22, inlined from 'JS_ForwardGetElementTo(JSContext*, JS::Handle, unsigned int, JS::Handle, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/jsapi.cpp:2528:22: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'id' in 'MEM[(struct Rooted * *)cx_2(D) + 48B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsobjinlines.h: In function 'JS_ForwardGetElementTo(JSContext*, JS::Handle, unsigned int, JS::Handle, JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:188:14: note: 'id' declared here 188 | RootedId id(cx); | ^~ src/third_party/mozjs-45/extract/js/src/jsapi.cpp:2521:35: note: 'cx' declared here 2521 | JS_ForwardGetElementTo(JSContext* cx, HandleObject obj, uint32_t index, HandleObject receiver, | ~~~~~~~~~~~^~ 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::GetElement(JSContext*, JS::Handle, JS::Handle, unsigned int, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:188:19, inlined from 'js::GetElement(JSContext*, JS::Handle, JS::Handle, unsigned int, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:199:22, inlined from 'JS_ForwardGetElementTo(JSContext*, JS::Handle, unsigned int, JS::Handle, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/jsapi.cpp:2528:22, inlined from 'JS_GetElement(JSContext*, JS::Handle, unsigned int, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/jsapi.cpp:2562:34: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'id' in 'MEM[(struct Rooted * *)cx_2(D) + 48B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsobjinlines.h: In function 'JS_GetElement(JSContext*, JS::Handle, unsigned int, JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:188:14: note: 'id' declared here 188 | RootedId id(cx); | ^~ src/third_party/mozjs-45/extract/js/src/jsapi.cpp:2560:26: note: 'cx' declared here 2560 | JS_GetElement(JSContext* cx, HandleObject objArg, uint32_t index, MutableHandleValue vp) | ~~~~~~~~~~~^~ 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::DeleteElement(JSContext*, JS::Handle, unsigned int, JS::ObjectOpResult&)' at src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:231:19, inlined from 'JS_DeleteElement(JSContext*, JS::Handle, unsigned int, JS::ObjectOpResult&)' at src/third_party/mozjs-45/extract/js/src/jsapi.cpp:2706:25: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'id' in 'MEM[(struct Rooted * *)cx_2(D) + 48B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsobjinlines.h: In function 'JS_DeleteElement(JSContext*, JS::Handle, unsigned int, JS::ObjectOpResult&)': src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:231:14: note: 'id' declared here 231 | RootedId id(cx); | ^~ src/third_party/mozjs-45/extract/js/src/jsapi.cpp:2700:29: note: 'cx' declared here 2700 | JS_DeleteElement(JSContext* cx, HandleObject obj, uint32_t index, ObjectOpResult& result) | ~~~~~~~~~~~^~ 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::DeleteElement(JSContext*, JS::Handle, unsigned int, JS::ObjectOpResult&)' at src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:231:19, inlined from 'JS_DeleteElement(JSContext*, JS::Handle, unsigned int, JS::ObjectOpResult&)' at src/third_party/mozjs-45/extract/js/src/jsapi.cpp:2706:25, inlined from 'JS_DeleteElement(JSContext*, JS::Handle, unsigned int)' at src/third_party/mozjs-45/extract/js/src/jsapi.cpp:2727:28: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'id' in 'MEM[(struct Rooted * *)cx_2(D) + 48B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsobjinlines.h: In function 'JS_DeleteElement(JSContext*, JS::Handle, unsigned int)': src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:231:14: note: 'id' declared here 231 | RootedId id(cx); | ^~ src/third_party/mozjs-45/extract/js/src/jsapi.cpp:2724:29: note: 'cx' declared here 2724 | JS_DeleteElement(JSContext* cx, HandleObject obj, uint32_t index) | ~~~~~~~~~~~^~ 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_AlreadyHasOwnPropertyById(JSContext*, JS::Handle, JS::Handle, bool*)' at src/third_party/mozjs-45/extract/js/src/jsapi.cpp:2902:24: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'prop' in 'MEM[(struct Rooted * *)cx_57(D) + 16B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsapi.cpp: In function 'JS_AlreadyHasOwnPropertyById(JSContext*, JS::Handle, JS::Handle, bool*)': src/third_party/mozjs-45/extract/js/src/jsapi.cpp:2902:17: note: 'prop' declared here 2902 | RootedShape prop(cx); | ^~~~ src/third_party/mozjs-45/extract/js/src/jsapi.cpp:2892:41: note: 'cx' declared here 2892 | JS_AlreadyHasOwnPropertyById(JSContext* cx, HandleObject obj, HandleId id, bool* foundp) | ~~~~~~~~~~~^~ 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_AlreadyHasOwnElement(JSContext*, JS::Handle, unsigned int, bool*)' at src/third_party/mozjs-45/extract/js/src/jsapi.cpp:2934: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_35(D) + 48B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsapi.cpp: In function 'JS_AlreadyHasOwnElement(JSContext*, JS::Handle, unsigned int, bool*)': src/third_party/mozjs-45/extract/js/src/jsapi.cpp:2934:14: note: 'id' declared here 2934 | RootedId id(cx); | ^~ src/third_party/mozjs-45/extract/js/src/jsapi.cpp:2930:36: note: 'cx' declared here 2930 | JS_AlreadyHasOwnElement(JSContext* cx, HandleObject obj, uint32_t index, bool* foundp) | ~~~~~~~~~~~^~ 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_62(D) + 12B]' [-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:3029:28: note: 'cx' declared here 3029 | JS_DefineObject(JSContext* cx, HandleObject obj, const char* name, const JSClass* jsclasp, | ~~~~~~~~~~~^~ 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_54(D) + 28B]' [-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:3128:32: note: 'cx' declared here 3128 | JS_DefineProperties(JSContext* cx, HandleObject obj, const JSPropertySpec* ps) | ~~~~~~~~~~~^~ 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_80(D) + 28B]' [-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:3333:38: note: 'cx' declared here 3333 | JS::GetSelfHostedFunction(JSContext* cx, const char* selfHostedName, HandleId id, unsigned nargs) | ~~~~~~~~~~~^~ 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_143(D) + 28B]' [-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:3354:36: note: 'cx' declared here 3354 | JS::NewFunctionFromSpec(JSContext* cx, const JSFunctionSpec* fs, HandleId id) | ~~~~~~~~~~~^~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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 int, unsigned int*, 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) + 28B]' [-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 int, unsigned int*, 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:5523:29: note: 'cx' declared here 5523 | JS_ExecuteRegExp(JSContext* cx, HandleObject obj, HandleObject reobj, char16_t* chars, | ~~~~~~~~~~~^~ 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 int, unsigned int*, 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) + 28B]' [-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 int, unsigned int*, 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:5564:38: note: 'cx' declared here 5564 | JS_ExecuteRegExpNoStatics(JSContext* cx, HandleObject obj, char16_t* chars, size_t length, | ~~~~~~~~~~~^~ 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) + 28B]' [-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:5988:25: note: 'cx' declared here 5988 | JS_CharsToId(JSContext* cx, JS::TwoByteChars chars, MutableHandleId idp) | ~~~~~~~~~~~^~ 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_125(D) + 28B]' [-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:149:59: note: 'cx' declared here 149 | JS::ObjectOpResult::reportStrictErrorOrWarning(JSContext* cx, HandleObject obj, HandleId id, | ~~~~~~~~~~~^~ 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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src22.cpp:38: 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:513:63: note: 'cx' declared here 513 | JSCompartment::getOrCreateNonSyntacticLexicalScope(JSContext* cx, | ~~~~~~~~~~~^~ 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::DateIsValid(JSContext*, JS::Handle, bool*)' at src/third_party/mozjs-45/extract/js/src/jsdate.cpp:3300:27: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'unboxed' in 'MEM[(struct Rooted * *)cx_45(D) + 52B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsdate.cpp: In function 'js::DateIsValid(JSContext*, JS::Handle, bool*)': src/third_party/mozjs-45/extract/js/src/jsdate.cpp:3300:17: note: 'unboxed' declared here 3300 | RootedValue unboxed(cx); | ^~~~~~~ src/third_party/mozjs-45/extract/js/src/jsdate.cpp:3289:28: note: 'cx' declared here 3289 | js::DateIsValid(JSContext* cx, HandleObject obj, bool* isValid) | ~~~~~~~~~~~^~ 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::DateGetMsecSinceEpoch(JSContext*, JS::Handle, double*)' at src/third_party/mozjs-45/extract/js/src/jsdate.cpp:3320:27: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'unboxed' in 'MEM[(struct Rooted * *)cx_40(D) + 52B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsdate.cpp: In function 'js::DateGetMsecSinceEpoch(JSContext*, JS::Handle, double*)': src/third_party/mozjs-45/extract/js/src/jsdate.cpp:3320:17: note: 'unboxed' declared here 3320 | RootedValue unboxed(cx); | ^~~~~~~ src/third_party/mozjs-45/extract/js/src/jsdate.cpp:3309:38: note: 'cx' declared here 3309 | js::DateGetMsecSinceEpoch(JSContext* cx, HandleObject obj, double* msecsSinceEpoch) | ~~~~~~~~~~~^~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move 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::AutoGCRooter::AutoGCRooter(JSContext*, int)', inlined from 'JS::AutoVectorRooterBase::AutoVectorRooterBase(JSContext*, int)' at src/third_party/mozjs-45/extract/js/src/jsapi.h:108:41, inlined from 'JS::AutoVectorRooter::AutoVectorRooter(JSContext*)' at src/third_party/mozjs-45/extract/js/src/jsapi.h:202:56, inlined from 'js::detail::GenericInvokeArgs::GenericInvokeArgs(JSContext*)' at src/third_party/mozjs-45/extract/js/src/vm/Stack.h:1091:49, inlined from 'js::ConstructArgs::ConstructArgs(JSContext*)' at src/third_party/mozjs-45/extract/js/src/vm/Stack.h:1124:73, inlined from 'JS::Construct(JSContext*, JS::Handle, JS::Handle, JS::HandleValueArray const&, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/jsapi.cpp:2860:27: src/third_party/mozjs-45/extract/js/src/jsapi.cpp:6132:15: warning: storing the address of local variable 'cargs' in 'MEM[(struct AutoGCRooter * *)cx_81(D) + 60B]' [-Wdangling-pointer=] 6132 | *stackTop = this; | ~~~~~~~~~~^~~~~~ src/third_party/mozjs-45/extract/js/src/jsapi.cpp: In function 'JS::Construct(JSContext*, JS::Handle, JS::Handle, JS::HandleValueArray const&, JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/jsapi.cpp:2860:19: note: 'cargs' declared here 2860 | ConstructArgs cargs(cx); | ^~~~~ src/third_party/mozjs-45/extract/js/src/jsapi.cpp:2841:26: note: 'cx' declared here 2841 | JS::Construct(JSContext* cx, HandleValue fval, HandleObject newTarget, const JS::HandleValueArray& args, | ~~~~~~~~~~~^~ 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) + 12B]' [-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:2463:24: note: 'cx' declared here 2463 | date_toJSON(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ In member function 'JS::AutoGCRooter::AutoGCRooter(JSContext*, int)', inlined from 'JS::AutoVectorRooterBase::AutoVectorRooterBase(JSContext*, int)' at src/third_party/mozjs-45/extract/js/src/jsapi.h:108:41, inlined from 'JS::AutoVectorRooter::AutoVectorRooter(JSContext*)' at src/third_party/mozjs-45/extract/js/src/jsapi.h:202:56, inlined from 'js::detail::GenericInvokeArgs::GenericInvokeArgs(JSContext*)' at src/third_party/mozjs-45/extract/js/src/vm/Stack.h:1091:49, inlined from 'js::ConstructArgs::ConstructArgs(JSContext*)' at src/third_party/mozjs-45/extract/js/src/vm/Stack.h:1124:73, inlined from 'JS_NewHelper(JSContext*, JS::Handle, JS::HandleValueArray const&)' at src/third_party/mozjs-45/extract/js/src/jsapi.cpp:4630:26, inlined from 'JS_New(JSContext*, JS::Handle, JS::HandleValueArray const&)' at src/third_party/mozjs-45/extract/js/src/jsapi.cpp:4647:27: src/third_party/mozjs-45/extract/js/src/jsapi.cpp:6132:15: warning: storing the address of local variable 'args' in 'MEM[(struct AutoGCRooter * *)cx_29(D) + 60B]' [-Wdangling-pointer=] 6132 | *stackTop = this; | ~~~~~~~~~~^~~~~~ src/third_party/mozjs-45/extract/js/src/jsapi.cpp: In function 'JS_New(JSContext*, JS::Handle, JS::HandleValueArray const&)': src/third_party/mozjs-45/extract/js/src/jsapi.cpp:4630:19: note: 'args' declared here 4630 | ConstructArgs args(cx); | ^~~~ src/third_party/mozjs-45/extract/js/src/jsapi.cpp:4642:19: note: 'cx' declared here 4642 | JS_New(JSContext* cx, HandleObject ctor, const JS::HandleValueArray& inputArgs) | ~~~~~~~~~~~^~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() 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::AutoGCRooter::AutoGCRooter(JSContext*, int)', inlined from 'JS::AutoVectorRooterBase::AutoVectorRooterBase(JSContext*, int)' at src/third_party/mozjs-45/extract/js/src/jsapi.h:108:41, inlined from 'JS::AutoVectorRooter::AutoVectorRooter(JSContext*)' at src/third_party/mozjs-45/extract/js/src/jsapi.h:202:56, inlined from 'js::detail::GenericInvokeArgs::GenericInvokeArgs(JSContext*)' at src/third_party/mozjs-45/extract/js/src/vm/Stack.h:1091:49, inlined from 'js::ConstructArgs::ConstructArgs(JSContext*)' at src/third_party/mozjs-45/extract/js/src/vm/Stack.h:1124:73, inlined from 'JS::Construct(JSContext*, JS::Handle, JS::HandleValueArray const&, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/jsapi.cpp:2881:27: src/third_party/mozjs-45/extract/js/src/jsapi.cpp:6132:15: warning: storing the address of local variable 'cargs' in 'MEM[(struct AutoGCRooter * *)cx_8(D) + 60B]' [-Wdangling-pointer=] 6132 | *stackTop = this; | ~~~~~~~~~~^~~~~~ src/third_party/mozjs-45/extract/js/src/jsapi.cpp: In function 'JS::Construct(JSContext*, JS::Handle, JS::HandleValueArray const&, JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/jsapi.cpp:2881:19: note: 'cargs' declared here 2881 | ConstructArgs cargs(cx); | ^~~~~ src/third_party/mozjs-45/extract/js/src/jsapi.cpp:2868:26: note: 'cx' declared here 2868 | JS::Construct(JSContext* cx, HandleValue fval, const JS::HandleValueArray& args, | ~~~~~~~~~~~^~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() 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::Value&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'JSCompartment::wrap(JSContext*, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/jscompartment.cpp:365:41: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'key' in 'MEM[(struct Rooted * *)cx_62(D) + 52B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jscompartment.cpp: In member function 'JSCompartment::wrap(JSContext*, JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/jscompartment.cpp:365:17: note: 'key' declared here 365 | RootedValue key(cx, StringValue(str)); | ^~~ src/third_party/mozjs-45/extract/js/src/jscompartment.cpp:348:32: note: 'cx' declared here 348 | JSCompartment::wrap(JSContext* cx, MutableHandleString strp) | ~~~~~~~~~~~^~ In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted&>(JSContext* const&, JS::MutableHandle&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'JSCompartment::wrap(JSContext*, JS::MutableHandle, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/jscompartmentinlines.h:106:29: 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) + 52B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscriptinlines.h:17: src/third_party/mozjs-45/extract/js/src/jscompartmentinlines.h: In member function 'JSCompartment::wrap(JSContext*, JS::MutableHandle, JS::Handle)': src/third_party/mozjs-45/extract/js/src/jscompartmentinlines.h:106:21: note: 'v' declared here 106 | JS::RootedValue v(cx, vp); | ^ src/third_party/mozjs-45/extract/js/src/jscompartmentinlines.h:57:32: note: 'cx' declared here 57 | JSCompartment::wrap(JSContext* cx, JS::MutableHandleValue vp, JS::HandleObject existing) | ~~~~~~~~~~~^~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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&, JSAtom*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'CompileFunction(JSContext*, JS::ReadOnlyCompileOptions const&, char const*, unsigned int, char const* const*, JS::SourceBufferHolder&, JS::Handle, JS::Handle, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/jsapi.cpp:4308:77, inlined from 'JS::CompileFunction(JSContext*, JS::AutoVectorRooter&, JS::ReadOnlyCompileOptions const&, char const*, unsigned int, char const* const*, JS::SourceBufferHolder&, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/jsapi.cpp:4341:27: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'argAtom' in 'MEM[(struct Rooted * *)cx_60(D) + 28B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsapi.cpp: In function 'JS::CompileFunction(JSContext*, JS::AutoVectorRooter&, JS::ReadOnlyCompileOptions const&, char const*, unsigned int, char const* const*, JS::SourceBufferHolder&, JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/jsapi.cpp:4308:20: note: 'argAtom' declared here 4308 | RootedAtom argAtom(cx, Atomize(cx, argnames[i], strlen(argnames[i]))); | ^~~~~~~ src/third_party/mozjs-45/extract/js/src/jsapi.cpp:4331:32: note: 'cx' declared here 4331 | JS::CompileFunction(JSContext* cx, AutoObjectVector& scopeChain, | ~~~~~~~~~~~^~ 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 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_98(D) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src22.cpp:20: 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:136:33: note: 'cx' declared here 136 | js::InitBooleanClass(JSContext* cx, HandleObject obj) | ~~~~~~~~~~~^~ 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 'DateOneArgument(JSContext*, JS::CallArgs const&)' at src/third_party/mozjs-45/extract/js/src/jsdate.cpp:3067:39, inlined from 'js::DateConstructor(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/jsdate.cpp:3188:31: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'unboxed' in 'MEM[(struct Rooted * *)cx_6(D) + 52B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsdate.cpp: In function 'js::DateConstructor(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/jsdate.cpp:3067:29: note: 'unboxed' declared here 3067 | RootedValue unboxed(cx); | ^~~~~~~ src/third_party/mozjs-45/extract/js/src/jsdate.cpp:3180:32: note: 'cx' declared here 3180 | js::DateConstructor(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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 { | ^~~~~ In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::DateObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'date_setUTCHours_impl(JSContext*, JS::CallArgs const&)' at src/third_party/mozjs-45/extract/js/src/jsdate.cpp:2003:78, inlined from 'JS::CallNonGenericMethod<&(IsDate(JS::Handle)), &(date_setUTCHours_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_setUTCHours(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/jsdate.cpp:2044:63: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'dateObj' in 'MEM[(struct Rooted * *)cx_4(D) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsdate.cpp: In function 'date_setUTCHours(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/jsdate.cpp:2003:25: note: 'dateObj' declared here 2003 | Rooted dateObj(cx, &args.thisv().toObject().as()); | ^~~~~~~ src/third_party/mozjs-45/extract/js/src/jsdate.cpp:2041:29: note: 'cx' declared here 2041 | date_setUTCHours(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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_SetAllNonReservedSlotsToUndefined(JSContext*, JSObject*)' at src/third_party/mozjs-45/extract/js/src/jsapi.cpp:3171: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_38(D) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsapi.cpp: In function 'JS_SetAllNonReservedSlotsToUndefined(JSContext*, JSObject*)': src/third_party/mozjs-45/extract/js/src/jsapi.cpp:3171:18: note: 'obj' declared here 3171 | RootedObject obj(cx, objArg); | ^~~ src/third_party/mozjs-45/extract/js/src/jsapi.cpp:3169:49: note: 'cx' declared here 3169 | JS_SetAllNonReservedSlotsToUndefined(JSContext* cx, JSObject* objArg) | ~~~~~~~~~~~^~ 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) + 28B]' [-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:2804:32: note: 'cx' declared here 2804 | date_toLocaleFormat(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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/i386/linux/include -Ibuild/fedora -Isrc src/mongo/scripting/mozjs/mongohelpers.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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 In file included from /usr/include/c++/13/cstring:42, from src/mongo/platform/atomic_word.h:31, from src/mongo/transport/service_entry_point_impl.h:33: In function '*memchr', inlined from 'mongo::StringData::find(char, unsigned int) 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)::curOpCommandSetup(mongo::OperationContext*, mongo::OpMsgRequest const&)' at src/mongo/db/service_entry_point_common.cpp:973:54, inlined from 'mongo::(anonymous namespace)::receivedCommands(mongo::OperationContext*, mongo::Message const&, mongo::ServiceEntryPointCommon::Hooks const&)::{lambda()#1}::operator()() const' at src/mongo/db/service_entry_point_common.cpp:1013:30: /usr/include/string.h:102:27: warning: 'memchr' specified bound [4294967291, 4294967292] exceeds maximum object size 2147483647 [-Wstringop-overread] 102 | return __builtin_memchr (__s, __c, __n); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 /usr/bin/python3 buildscripts/idl/idlc.py --include src --base_dir build/fedora --target_arch i386 --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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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/i386/linux/include -Ibuild/fedora -Isrc build/fedora/mongo/scripting/mozjs/end_sessions_gen.cpp 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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/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/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from 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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__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 In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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++/13/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:731:14, inlined from 'mongo::BSONObjBuilder::append(mongo::StringData, std::vector > const&)mongo::BSONObjBuilder& [clone .isra.0]' at src/mongo/bson/bsonobjbuilder.h:970: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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from 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/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move 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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return 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::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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 { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 /usr/bin/python3 buildscripts/idl/idlc.py --include src --base_dir build/fedora --target_arch i386 --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 In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from 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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 i386 --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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from 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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/stale_exception.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from 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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from 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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 /usr/include/string.h:535, from /usr/include/c++/13/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:731:14, inlined from 'mongo::BSONObjBuilder::append(mongo::StringData, std::vector > const&)mongo::BSONObjBuilder& [clone .isra.0]' at src/mongo/bson/bsonobjbuilder.h:970: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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 In file included from /usr/include/string.h:535, from /usr/include/c++/13/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:731: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:970: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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from 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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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_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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/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/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from 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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/chunk_version.cpp In file included from /usr/include/string.h:535, from /usr/include/c++/13/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:731: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:970: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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from 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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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++/13/bits/stl_pair.h:194: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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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/i386/linux/include -Ibuild/fedora -Isrc src/mongo/scripting/mozjs/dbquery.cpp 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 In file included from src/mongo/db/pipeline/value.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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS src/third_party/shim_mozjs.cpp 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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 { | ^~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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/mozjs-45/platform/i386/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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/i386/linux/build -Isrc/third_party/mozjs-45/platform/i386/linux/build -Ibuild/fedora/third_party/mozjs-45/platform/i386/linux/include -Isrc/third_party/mozjs-45/platform/i386/linux/include src/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src35.cpp 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/mozjs-45/extract/js/src/builtin/SymbolObject.h:10, from src/third_party/mozjs-45/extract/js/src/vm/TypeInference-inl.h:16, from src/third_party/mozjs-45/extract/js/src/vm/TypeInference.cpp:7, from src/third_party/mozjs-45/platform/i386/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/gc/Tracer.h:12, from src/third_party/mozjs-45/extract/js/src/ds/IdValuePair.h:13, from src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:18, from src/third_party/mozjs-45/extract/js/src/vm/TypeInference-inl.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/vm/NativeObject-inl.h:19, from src/third_party/mozjs-45/extract/js/src/vm/TypeInference.cpp:40: 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/vm/TypeInference.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)); | ~~~~~~^~~~~~~~~~~~~~~~~~ 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, 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/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/jit/BaselineJIT.h:12, from src/third_party/mozjs-45/extract/js/src/vm/TypeInference-inl.h:17: 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: 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 = 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 | ^~~~~~~~~~~~~~~~ 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/SharedIC.h:20, from src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.h:20, 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, from src/third_party/mozjs-45/extract/js/src/vm/TypeInference.cpp:27: 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 = 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); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/GlobalObject.h:18, from src/third_party/mozjs-45/extract/js/src/jscompartment.h:18, from src/third_party/mozjs-45/extract/js/src/jit/BaselineJIT.h:13: src/third_party/mozjs-45/extract/js/src/vm/ArrayBufferObject.h:414:8: note: 'struct js::uint8_clamped' declared here 414 | struct uint8_clamped { | ^~~~~~~~~~~~~ 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&, 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_107(D) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src35.cpp:11: 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:759:33: note: 'cx' declared here 759 | FinishTypedArrayInit(JSContext* cx, HandleObject ctor, HandleObject proto) | ~~~~~~~~~~~^~ 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_48(D) + 12B]' [-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:224:34: note: 'cx' declared here 224 | createConstructor(JSContext* cx, JSProtoKey key) | ~~~~~~~~~~~^~ 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) + 12B]' [-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:212:32: note: 'cx' declared here 212 | createPrototype(JSContext* cx, JSProtoKey key) | ~~~~~~~~~~~^~ 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) + 12B]' [-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:212:32: note: 'cx' declared here 212 | createPrototype(JSContext* cx, JSProtoKey key) | ~~~~~~~~~~~^~ 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) + 12B]' [-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:212:32: note: 'cx' declared here 212 | createPrototype(JSContext* cx, JSProtoKey key) | ~~~~~~~~~~~^~ 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) + 12B]' [-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:212:32: note: 'cx' declared here 212 | createPrototype(JSContext* cx, JSProtoKey key) | ~~~~~~~~~~~^~ 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) + 12B]' [-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:212:32: note: 'cx' declared here 212 | createPrototype(JSContext* cx, JSProtoKey key) | ~~~~~~~~~~~^~ 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) + 12B]' [-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:212:32: note: 'cx' declared here 212 | createPrototype(JSContext* cx, JSProtoKey key) | ~~~~~~~~~~~^~ 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) + 12B]' [-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:212:32: note: 'cx' declared here 212 | createPrototype(JSContext* cx, JSProtoKey key) | ~~~~~~~~~~~^~ 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) + 12B]' [-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:212:32: note: 'cx' declared here 212 | createPrototype(JSContext* cx, JSProtoKey key) | ~~~~~~~~~~~^~ 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) + 12B]' [-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:212:32: note: 'cx' declared here 212 | createPrototype(JSContext* cx, JSProtoKey key) | ~~~~~~~~~~~^~ 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_48(D) + 12B]' [-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:224:34: note: 'cx' declared here 224 | createConstructor(JSContext* cx, JSProtoKey key) | ~~~~~~~~~~~^~ 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_48(D) + 12B]' [-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:224:34: note: 'cx' declared here 224 | createConstructor(JSContext* cx, JSProtoKey key) | ~~~~~~~~~~~^~ 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_48(D) + 12B]' [-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:224:34: note: 'cx' declared here 224 | createConstructor(JSContext* cx, JSProtoKey key) | ~~~~~~~~~~~^~ 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_48(D) + 12B]' [-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:224:34: note: 'cx' declared here 224 | createConstructor(JSContext* cx, JSProtoKey key) | ~~~~~~~~~~~^~ 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_48(D) + 12B]' [-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:224:34: note: 'cx' declared here 224 | createConstructor(JSContext* cx, JSProtoKey key) | ~~~~~~~~~~~^~ 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_48(D) + 12B]' [-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:224:34: note: 'cx' declared here 224 | createConstructor(JSContext* cx, JSProtoKey key) | ~~~~~~~~~~~^~ 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_48(D) + 12B]' [-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:224:34: note: 'cx' declared here 224 | createConstructor(JSContext* cx, JSProtoKey key) | ~~~~~~~~~~~^~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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_48(D) + 12B]' [-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:224:34: note: 'cx' declared here 224 | createConstructor(JSContext* cx, JSProtoKey key) | ~~~~~~~~~~~^~ 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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src35.cpp:38: 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:1407:51: note: 'cx' declared here 1407 | UnboxedArrayObject::obj_lookupProperty(JSContext* cx, HandleObject obj, | ~~~~~~~~~~~^~ 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) + 12B]' [-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:1461:48: note: 'cx' declared here 1461 | UnboxedArrayObject::obj_hasProperty(JSContext* cx, HandleObject obj, HandleId id, bool* foundp) | ~~~~~~~~~~~^~ 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::GetElement(JSContext*, JS::Handle, JS::Handle, unsigned int, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:188:19, inlined from 'js::GetElement(JSContext*, JS::Handle, JS::Handle, unsigned int, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:199:22, 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:324:28: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'id' in 'MEM[(struct Rooted * *)cx_91(D) + 48B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsobjinlines.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/jsobjinlines.h:188:14: note: 'id' declared here 188 | RootedId id(cx); | ^~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayCommon.h:292:37: note: 'cx' declared here 292 | setFromNonTypedArray(JSContext* cx, Handle target, HandleObject source, | ~~~~~~~~~~~^~ 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::GetElement(JSContext*, JS::Handle, JS::Handle, unsigned int, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:188:19, inlined from 'js::GetElement(JSContext*, JS::Handle, JS::Handle, unsigned int, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:199:22, 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:324:28: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'id' in 'MEM[(struct Rooted * *)cx_91(D) + 48B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsobjinlines.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/jsobjinlines.h:188:14: note: 'id' declared here 188 | RootedId id(cx); | ^~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayCommon.h:292:37: note: 'cx' declared here 292 | setFromNonTypedArray(JSContext* cx, Handle target, HandleObject source, | ~~~~~~~~~~~^~ 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::GetElement(JSContext*, JS::Handle, JS::Handle, unsigned int, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:188:19, inlined from 'js::GetElement(JSContext*, JS::Handle, JS::Handle, unsigned int, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:199:22, 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:324:28: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'id' in 'MEM[(struct Rooted * *)cx_89(D) + 48B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsobjinlines.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/jsobjinlines.h:188:14: note: 'id' declared here 188 | RootedId id(cx); | ^~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayCommon.h:292:37: note: 'cx' declared here 292 | setFromNonTypedArray(JSContext* cx, Handle target, HandleObject source, | ~~~~~~~~~~~^~ 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::GetElement(JSContext*, JS::Handle, JS::Handle, unsigned int, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:188:19, inlined from 'js::GetElement(JSContext*, JS::Handle, JS::Handle, unsigned int, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:199:22, 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:324:28: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'id' in 'MEM[(struct Rooted * *)cx_89(D) + 48B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsobjinlines.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/jsobjinlines.h:188:14: note: 'id' declared here 188 | RootedId id(cx); | ^~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayCommon.h:292:37: note: 'cx' declared here 292 | setFromNonTypedArray(JSContext* cx, Handle target, HandleObject source, | ~~~~~~~~~~~^~ 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::GetElement(JSContext*, JS::Handle, JS::Handle, unsigned int, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:188:19, inlined from 'js::GetElement(JSContext*, JS::Handle, JS::Handle, unsigned int, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:199:22, 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:324:28: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'id' in 'MEM[(struct Rooted * *)cx_91(D) + 48B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsobjinlines.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/jsobjinlines.h:188:14: note: 'id' declared here 188 | RootedId id(cx); | ^~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayCommon.h:292:37: note: 'cx' declared here 292 | setFromNonTypedArray(JSContext* cx, Handle target, HandleObject source, | ~~~~~~~~~~~^~ 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::GetElement(JSContext*, JS::Handle, JS::Handle, unsigned int, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:188:19, inlined from 'js::GetElement(JSContext*, JS::Handle, JS::Handle, unsigned int, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:199:22, 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:324:28: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'id' in 'MEM[(struct Rooted * *)cx_91(D) + 48B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsobjinlines.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/jsobjinlines.h:188:14: note: 'id' declared here 188 | RootedId id(cx); | ^~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayCommon.h:292:37: note: 'cx' declared here 292 | setFromNonTypedArray(JSContext* cx, Handle target, HandleObject source, | ~~~~~~~~~~~^~ 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::GetElement(JSContext*, JS::Handle, JS::Handle, unsigned int, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:188:19, inlined from 'js::GetElement(JSContext*, JS::Handle, JS::Handle, unsigned int, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:199:22, 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:324:28: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'id' in 'MEM[(struct Rooted * *)cx_91(D) + 48B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsobjinlines.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/jsobjinlines.h:188:14: note: 'id' declared here 188 | RootedId id(cx); | ^~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayCommon.h:292:37: note: 'cx' declared here 292 | setFromNonTypedArray(JSContext* cx, Handle target, HandleObject source, | ~~~~~~~~~~~^~ 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::GetElement(JSContext*, JS::Handle, JS::Handle, unsigned int, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:188:19, inlined from 'js::GetElement(JSContext*, JS::Handle, JS::Handle, unsigned int, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:199:22, 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:324:28: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'id' in 'MEM[(struct Rooted * *)cx_91(D) + 48B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsobjinlines.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/jsobjinlines.h:188:14: note: 'id' declared here 188 | RootedId id(cx); | ^~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayCommon.h:292:37: note: 'cx' declared here 292 | setFromNonTypedArray(JSContext* cx, Handle target, HandleObject source, | ~~~~~~~~~~~^~ 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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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_49(D) + 12B]' [-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:1478:48: note: 'cx' declared here 1478 | UnboxedArrayObject::obj_getProperty(JSContext* cx, HandleObject obj, HandleValue receiver, | ~~~~~~~~~~~^~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move 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::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) + 12B]' [-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:714:51: note: 'cx' declared here 714 | UnboxedPlainObject::obj_lookupProperty(JSContext* cx, HandleObject obj, | ~~~~~~~~~~~^~ 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) + 12B]' [-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:768:48: note: 'cx' declared here 768 | UnboxedPlainObject::obj_hasProperty(JSContext* cx, HandleObject obj, HandleId id, bool* foundp) | ~~~~~~~~~~~^~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() 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::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_77(D) + 12B]' [-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:785:48: note: 'cx' declared here 785 | UnboxedPlainObject::obj_getProperty(JSContext* cx, HandleObject obj, HandleValue receiver, | ~~~~~~~~~~~^~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:708:30, inlined from 'js::GetElement(JSContext*, JS::Handle, JS::Handle, unsigned int, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:188:19, inlined from 'js::GetElement(JSContext*, JS::Handle, JS::Handle, unsigned int, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:199:22, 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:324:28, 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 'id' in 'MEM[(struct Rooted * *)cx_10(D) + 48B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsobjinlines.h: In function 'js::TypedArrayMethods::setFromNonTypedArray(JSContext*, JS::Handle, JS::Handle, unsigned int, unsigned int)': src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:188:14: note: 'id' declared here 188 | RootedId id(cx); | ^~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayCommon.h:824:37: note: 'cx' declared here 824 | setFromNonTypedArray(JSContext* cx, Handle target, HandleObject source, | ~~~~~~~~~~~^~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 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_149(D) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src35.cpp:29: 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:299:36: note: 'cx' declared here 299 | cStringCountMapToObject(JSContext* cx, CStringCountMap& map) { | ~~~~~~~~~~~^~ 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::ObjectGroup::updateNewPropertyTypes(js::ExclusiveContext*, JSObject*, jsid, js::HeapTypeSet*)' at src/third_party/mozjs-45/extract/js/src/vm/TypeInference.cpp:2635:50: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'shape' in 'MEM[(struct Rooted * *)cx_93(D) + 16B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypeInference.cpp: In member function 'js::ObjectGroup::updateNewPropertyTypes(js::ExclusiveContext*, JSObject*, jsid, js::HeapTypeSet*)': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.cpp:2635:21: note: 'shape' declared here 2635 | RootedShape shape(cx, obj->lastProperty()); | ^~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypeInference.cpp:2610:55: note: 'cx' declared here 2610 | ObjectGroup::updateNewPropertyTypes(ExclusiveContext* cx, JSObject* objArg, jsid id, HeapTypeSet* types) | ~~~~~~~~~~~~~~~~~~^~ 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_75(D) + 12B]' [-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:95:46: note: 'cx' declared here 95 | TypedArrayObject::ensureHasBuffer(JSContext* cx, Handle tarray) | ~~~~~~~~~~~^~ 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::DataViewObject::initClass(JSContext*)' at src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:2121:70: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'global' in 'MEM[(struct Rooted * *)cx_156(D) + 12B]' [-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:2121:27: note: 'global' declared here 2121 | Rooted global(cx, cx->compartment()->maybeGlobal()); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:2119:38: note: 'cx' declared here 2119 | DataViewObject::initClass(JSContext* cx) | ~~~~~~~~~~~^~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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:722:18: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'proto' in 'MEM[(struct Rooted * *)cx_118(D) + 12B]' [-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:722:18: note: 'proto' declared here 722 | RootedObject proto(cx); | ^~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:717:51: note: 'cx' declared here 717 | TypedArrayObjectTemplate::fromArray(JSContext* cx, HandleObject other, | ~~~~~~~~~~~^~ 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:665:22, 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 'proto' in 'MEM[(struct Rooted * *)cx_6(D) + 12B]' [-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:665:22: note: 'proto' declared here 665 | RootedObject proto(cx); | ^~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:437:34: note: 'cx' declared here 437 | class_constructor(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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:665:22, 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 'proto' in 'MEM[(struct Rooted * *)cx_2(D) + 12B]' [-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:665:22: note: 'proto' declared here 665 | RootedObject proto(cx); | ^~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:1858:63: note: 'cx' declared here 1858 | JS_FRIEND_API(JSObject*) JS_New ## Name ## Array(JSContext* cx, uint32_t nelements) \ | ~~~~~~~~~~~^~ 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:722:18: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'proto' in 'MEM[(struct Rooted * *)cx_118(D) + 12B]' [-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:722:18: note: 'proto' declared here 722 | RootedObject proto(cx); | ^~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:717:51: note: 'cx' declared here 717 | TypedArrayObjectTemplate::fromArray(JSContext* cx, HandleObject other, | ~~~~~~~~~~~^~ 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:665:22, 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 'proto' in 'MEM[(struct Rooted * *)cx_6(D) + 12B]' [-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:665:22: note: 'proto' declared here 665 | RootedObject proto(cx); | ^~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:437:34: note: 'cx' declared here 437 | class_constructor(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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:665:22, 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 'proto' in 'MEM[(struct Rooted * *)cx_2(D) + 12B]' [-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:665:22: note: 'proto' declared here 665 | RootedObject proto(cx); | ^~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:1858:63: note: 'cx' declared here 1858 | JS_FRIEND_API(JSObject*) JS_New ## Name ## Array(JSContext* cx, uint32_t nelements) \ | ~~~~~~~~~~~^~ 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:722:18: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'proto' in 'MEM[(struct Rooted * *)cx_118(D) + 12B]' [-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:722:18: note: 'proto' declared here 722 | RootedObject proto(cx); | ^~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:717:51: note: 'cx' declared here 717 | TypedArrayObjectTemplate::fromArray(JSContext* cx, HandleObject other, | ~~~~~~~~~~~^~ 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:665:22, 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 'proto' in 'MEM[(struct Rooted * *)cx_6(D) + 12B]' [-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:665:22: note: 'proto' declared here 665 | RootedObject proto(cx); | ^~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:437:34: note: 'cx' declared here 437 | class_constructor(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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:665:22, 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 'proto' in 'MEM[(struct Rooted * *)cx_2(D) + 12B]' [-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:665:22: note: 'proto' declared here 665 | RootedObject proto(cx); | ^~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:1858:63: note: 'cx' declared here 1858 | JS_FRIEND_API(JSObject*) JS_New ## Name ## Array(JSContext* cx, uint32_t nelements) \ | ~~~~~~~~~~~^~ 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:722:18: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'proto' in 'MEM[(struct Rooted * *)cx_118(D) + 12B]' [-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:722:18: note: 'proto' declared here 722 | RootedObject proto(cx); | ^~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:717:51: note: 'cx' declared here 717 | TypedArrayObjectTemplate::fromArray(JSContext* cx, HandleObject other, | ~~~~~~~~~~~^~ 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:665:22, 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 'proto' in 'MEM[(struct Rooted * *)cx_6(D) + 12B]' [-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:665:22: note: 'proto' declared here 665 | RootedObject proto(cx); | ^~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:437:34: note: 'cx' declared here 437 | class_constructor(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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:665:22, 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 'proto' in 'MEM[(struct Rooted * *)cx_2(D) + 12B]' [-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:665:22: note: 'proto' declared here 665 | RootedObject proto(cx); | ^~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:1858:63: note: 'cx' declared here 1858 | JS_FRIEND_API(JSObject*) JS_New ## Name ## Array(JSContext* cx, uint32_t nelements) \ | ~~~~~~~~~~~^~ 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:722:18: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'proto' in 'MEM[(struct Rooted * *)cx_118(D) + 12B]' [-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:722:18: note: 'proto' declared here 722 | RootedObject proto(cx); | ^~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:717:51: note: 'cx' declared here 717 | TypedArrayObjectTemplate::fromArray(JSContext* cx, HandleObject other, | ~~~~~~~~~~~^~ 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:665:22, 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 'proto' in 'MEM[(struct Rooted * *)cx_6(D) + 12B]' [-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:665:22: note: 'proto' declared here 665 | RootedObject proto(cx); | ^~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:437:34: note: 'cx' declared here 437 | class_constructor(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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:665:22, 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 'proto' in 'MEM[(struct Rooted * *)cx_2(D) + 12B]' [-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:665:22: note: 'proto' declared here 665 | RootedObject proto(cx); | ^~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:1858:63: note: 'cx' declared here 1858 | JS_FRIEND_API(JSObject*) JS_New ## Name ## Array(JSContext* cx, uint32_t nelements) \ | ~~~~~~~~~~~^~ 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:722:18: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'proto' in 'MEM[(struct Rooted * *)cx_118(D) + 12B]' [-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:722:18: note: 'proto' declared here 722 | RootedObject proto(cx); | ^~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:717:51: note: 'cx' declared here 717 | TypedArrayObjectTemplate::fromArray(JSContext* cx, HandleObject other, | ~~~~~~~~~~~^~ 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:665:22, 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 'proto' in 'MEM[(struct Rooted * *)cx_6(D) + 12B]' [-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:665:22: note: 'proto' declared here 665 | RootedObject proto(cx); | ^~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:437:34: note: 'cx' declared here 437 | class_constructor(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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:665:22, 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 'proto' in 'MEM[(struct Rooted * *)cx_2(D) + 12B]' [-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:665:22: note: 'proto' declared here 665 | RootedObject proto(cx); | ^~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:1858:63: note: 'cx' declared here 1858 | JS_FRIEND_API(JSObject*) JS_New ## Name ## Array(JSContext* cx, uint32_t nelements) \ | ~~~~~~~~~~~^~ 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:722:18: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'proto' in 'MEM[(struct Rooted * *)cx_118(D) + 12B]' [-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:722:18: note: 'proto' declared here 722 | RootedObject proto(cx); | ^~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:717:51: note: 'cx' declared here 717 | TypedArrayObjectTemplate::fromArray(JSContext* cx, HandleObject other, | ~~~~~~~~~~~^~ 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:665:22, 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 'proto' in 'MEM[(struct Rooted * *)cx_6(D) + 12B]' [-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:665:22: note: 'proto' declared here 665 | RootedObject proto(cx); | ^~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:437:34: note: 'cx' declared here 437 | class_constructor(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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:665:22, 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 'proto' in 'MEM[(struct Rooted * *)cx_2(D) + 12B]' [-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:665:22: note: 'proto' declared here 665 | RootedObject proto(cx); | ^~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:1858:63: note: 'cx' declared here 1858 | JS_FRIEND_API(JSObject*) JS_New ## Name ## Array(JSContext* cx, uint32_t nelements) \ | ~~~~~~~~~~~^~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/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 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:722:18: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'proto' in 'MEM[(struct Rooted * *)cx_118(D) + 12B]' [-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:722:18: note: 'proto' declared here 722 | RootedObject proto(cx); | ^~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:717:51: note: 'cx' declared here 717 | TypedArrayObjectTemplate::fromArray(JSContext* cx, HandleObject other, | ~~~~~~~~~~~^~ 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:665:22, 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 'proto' in 'MEM[(struct Rooted * *)cx_6(D) + 12B]' [-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:665:22: note: 'proto' declared here 665 | RootedObject proto(cx); | ^~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:437:34: note: 'cx' declared here 437 | class_constructor(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/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 { | ^~~~~~~~~~~~ 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:665:22, 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 'proto' in 'MEM[(struct Rooted * *)cx_2(D) + 12B]' [-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:665:22: note: 'proto' declared here 665 | RootedObject proto(cx); | ^~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:1858:63: note: 'cx' declared here 1858 | JS_FRIEND_API(JSObject*) JS_New ## Name ## Array(JSContext* cx, uint32_t nelements) \ | ~~~~~~~~~~~^~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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&)' 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:722:18: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'proto' in 'MEM[(struct Rooted * *)cx_118(D) + 12B]' [-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:722:18: note: 'proto' declared here 722 | RootedObject proto(cx); | ^~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:717:51: note: 'cx' declared here 717 | TypedArrayObjectTemplate::fromArray(JSContext* cx, HandleObject other, | ~~~~~~~~~~~^~ 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:665:22, 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 'proto' in 'MEM[(struct Rooted * *)cx_6(D) + 12B]' [-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:665:22: note: 'proto' declared here 665 | RootedObject proto(cx); | ^~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:437:34: note: 'cx' declared here 437 | class_constructor(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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:665:22, 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 'proto' in 'MEM[(struct Rooted * *)cx_2(D) + 12B]' [-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:665:22: note: 'proto' declared here 665 | RootedObject proto(cx); | ^~~~~ src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:1858:63: note: 'cx' declared here 1858 | JS_FRIEND_API(JSObject*) JS_New ## Name ## Array(JSContext* cx, uint32_t nelements) \ | ~~~~~~~~~~~^~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:708:30, inlined from 'js::UnboxedPlainObject::convertToNative(JSContext*, JSObject*)' at src/third_party/mozjs-45/extract/js/src/vm/UnboxedObject.cpp:610:43: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'desc' in 'MEM[(struct Rooted * *)cx_325(D) + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/UnboxedObject.cpp: In function 'js::UnboxedPlainObject::convertToNative(JSContext*, JSObject*)': src/third_party/mozjs-45/extract/js/src/vm/UnboxedObject.cpp:610:36: note: 'desc' declared here 610 | Rooted desc(cx); | ^~~~ src/third_party/mozjs-45/extract/js/src/vm/UnboxedObject.cpp:547:48: note: 'cx' declared here 547 | UnboxedPlainObject::convertToNative(JSContext* cx, JSObject* obj) | ~~~~~~~~~~~^~ 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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:3091:62: note: 'cx' declared here 3091 | js::AddClearDefiniteGetterSetterForPrototypeChain(JSContext* cx, ObjectGroup* group, HandleId id) | ~~~~~~~~~~~^~ 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_59(D) + 12B]' [-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:735:51: note: 'cx' declared here 735 | UnboxedPlainObject::obj_defineProperty(JSContext* cx, HandleObject obj, HandleId id, | ~~~~~~~~~~~^~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 g++ -o build/fedora/third_party/mozjs-45/platform/i386/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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/i386/linux/build -Isrc/third_party/mozjs-45/platform/i386/linux/build -Ibuild/fedora/third_party/mozjs-45/platform/i386/linux/include -Isrc/third_party/mozjs-45/platform/i386/linux/include src/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src28.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/vm/CallNonGenericMethod.cpp:9, from src/third_party/mozjs-45/platform/i386/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/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 | ^~~~~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/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/i386/linux/build/Unified_cpp_js_src28.cpp:47: 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/vm/CallNonGenericMethod.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 = 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/vm/CharacterEncoding.cpp:11, from src/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src28.cpp:11: 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/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/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/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from 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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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, 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, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in 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/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/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with 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::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_46(D) + 12B]' [-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:7023:39: note: 'cx' declared here 7023 | DebuggerObject_getCallable(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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 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 'RequireGlobalObject(JSContext*, JS::Handle, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:7711:34: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_60(D) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp: In function 'RequireGlobalObject(JSContext*, JS::Handle, JS::Handle)': src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:7711:18: note: 'obj' declared here 7711 | RootedObject obj(cx, referent); | ^~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:7709:32: note: 'cx' declared here 7709 | RequireGlobalObject(JSContext* cx, HandleValue dbgobj, HandleObject referent) | ~~~~~~~~~~~^~ src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move 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 '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_100(D) + 12B]' [-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:5605:42: note: 'cx' declared here 5605 | DebuggerScript_isInCatchScope(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/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 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_81(D) + 12B]' [-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:4748:34: note: 'cx' declared here 4748 | DebuggerScript_getUrl(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move 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 '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_54(D) + 12B]' [-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:4776:40: note: 'cx' declared here 4776 | DebuggerScript_getLineCount(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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_189(D) + 12B]' [-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:5305:42: note: 'cx' declared here 5305 | DebuggerScript_getLineOffsets(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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_234(D) + 12B]' [-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:5136:45: note: 'cx' declared here 5136 | DebuggerScript_getOffsetLocation(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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_67(D) + 12B]' [-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:5918:41: note: 'cx' declared here 5918 | DebuggerSource_getDisplayURL(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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_67(D) + 12B]' [-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:6031:43: note: 'cx' declared here 6031 | DebuggerSource_getSourceMapUrl(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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_67(D) + 12B]' [-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:5901:34: note: 'cx' declared here 5901 | DebuggerSource_getUrl(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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_67(D) + 12B]' [-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:5994:47: note: 'cx' declared here 5994 | DebuggerSource_getIntroductionType(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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_getCanonicalId(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:6053: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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp: In function 'DebuggerSource_getCanonicalId(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:6053:73: note: 'obj' declared here 6053 | THIS_DEBUGSOURCE_REFERENT(cx, argc, vp, "(get sourceMapURL)", args, obj, sourceObject); | ^~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:6051:42: note: 'cx' declared here 6051 | DebuggerSource_getCanonicalId(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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_89(D) + 12B]' [-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:6011:43: note: 'cx' declared here 6011 | DebuggerSource_setSourceMapUrl(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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_85(D) + 12B]' [-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:7507:38: note: 'cx' declared here 7507 | DebuggerObject_sealHelper(JSContext* cx, unsigned argc, Value* vp, SealHelperOp op, const char* name) | ~~~~~~~~~~~^~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() 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::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_89(D) + 12B]' [-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:7548:42: note: 'cx' declared here 7548 | DebuggerObject_isSealedHelper(JSContext* cx, unsigned argc, Value* vp, SealHelperOp op, | ~~~~~~~~~~~^~ 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_270(D) + 12B]' [-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:5251:47: note: 'cx' declared here 5251 | DebuggerScript_getAllColumnOffsets(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() 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::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_74(D) + 12B]' [-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:6612:35: note: 'cx' declared here 6612 | DebuggerFrame_getOnPop(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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_74(D) + 12B]' [-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:6567:36: note: 'cx' declared here 6567 | DebuggerFrame_getOnStep(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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_73(D) + 12B]' [-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:6284:44: note: 'cx' declared here 6284 | DebuggerFrame_getImplementation(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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_71(D) + 12B]' [-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:6333:39: note: 'cx' declared here 6333 | DebuggerFrame_getGenerator(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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_86(D) + 12B]' [-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:6260:34: note: 'cx' declared here 6260 | DebuggerFrame_getType(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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_87(D) + 12B]' [-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:6537:36: note: 'cx' declared here 6537 | DebuggerFrame_getOffset(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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_88(D) + 12B]' [-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:6341:42: note: 'cx' declared here 6341 | DebuggerFrame_getConstructing(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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_383(D) + 12B]' [-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:5640:46: note: 'cx' declared here 5640 | DebuggerScript_getOffsetsCoverage(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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_65(D) + 12B]' [-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:7007:36: note: 'cx' declared here 7007 | DebuggerObject_getClass(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted&>(JSContext* const&, JS::MutableHandle&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'JSCompartment::wrap(JSContext*, JS::MutableHandle, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/jscompartmentinlines.h:106:29: 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) + 52B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:29: src/third_party/mozjs-45/extract/js/src/jscompartmentinlines.h: In member function 'JSCompartment::wrap(JSContext*, JS::MutableHandle, JS::Handle)': src/third_party/mozjs-45/extract/js/src/jscompartmentinlines.h:106:21: note: 'v' declared here 106 | JS::RootedValue v(cx, vp); | ^ src/third_party/mozjs-45/extract/js/src/jscompartmentinlines.h:57:32: note: 'cx' declared here 57 | JSCompartment::wrap(JSContext* cx, JS::MutableHandleValue vp, JS::HandleObject existing) | ~~~~~~~~~~~^~ 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_53(D) + 12B]' [-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:7820:45: note: 'cx' declared here 7820 | DebuggerObject_unsafeDereference(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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_132(D) + 12B]' [-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:5542:42: note: 'cx' declared here 5542 | DebuggerScript_getBreakpoints(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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_55(D) + 12B]' [-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:5595:47: note: 'cx' declared here 5595 | DebuggerScript_clearAllBreakpoints(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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_77(D) + 12B]' [-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:5578:43: note: 'cx' declared here 5578 | DebuggerScript_clearBreakpoint(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted >(JSContext* const&, JS::MutableHandle&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::Debugger::unwrapPropertyDescriptor(JSContext*, JS::Handle, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:968:49: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'set' in 'MEM[(struct Rooted * *)cx_157(D) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp: In member function 'js::Debugger::unwrapPropertyDescriptor(JSContext*, JS::Handle, JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:968:22: note: 'set' declared here 968 | RootedObject set(cx, desc.setterObject()); | ^~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:943:47: note: 'cx' declared here 943 | Debugger::unwrapPropertyDescriptor(JSContext* cx, HandleObject obj, | ~~~~~~~~~~~^~ 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) + 12B]' [-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:7438:44: note: 'cx' declared here 7438 | DebuggerObject_defineProperties(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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_77(D) + 12B]' [-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:7294:45: note: 'cx' declared here 7294 | DebuggerObject_getAllocationSite(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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_290(D) + 52B]' [-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:8530:47: note: 'cx' declared here 8530 | GarbageCollectionEvent::toJSObject(JSContext* cx) 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_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_346(D) + 12B]' [-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:5180:41: note: 'cx' declared here 5180 | DebuggerScript_getAllOffsets(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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_109(D) + 12B]' [-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:7486:42: note: 'cx' declared here 7486 | DebuggerObject_deleteProperty(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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_184(D) + 12B]' [-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:7403:42: note: 'cx' declared here 7403 | DebuggerObject_defineProperty(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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_155(D) + 12B]' [-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:7351:31: note: 'cx' declared here 7351 | getOwnPropertyKeys(JSContext* cx, unsigned argc, unsigned flags, Value* vp) | ~~~~~~~~~~~^~ 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::Debugger::addAllocationsTrackingForAllDebuggees(JSContext*)' at src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:2420:31: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'g' in 'MEM[(struct Rooted * *)cx_68(D) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp: In member function 'js::Debugger::addAllocationsTrackingForAllDebuggees(JSContext*)': src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:2420:27: note: 'g' declared here 2420 | Rooted g(cx); | ^ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:2403:60: note: 'cx' declared here 2403 | Debugger::addAllocationsTrackingForAllDebuggees(JSContext* cx) | ~~~~~~~~~~~^~ 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_DefineDebuggerObject(JSContext*, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:8372:23: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'memoryProto' in 'MEM[(struct Rooted * *)cx_252(D) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp: In function 'JS_DefineDebuggerObject(JSContext*, JS::Handle)': src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:8372:9: note: 'memoryProto' declared here 8372 | memoryProto(cx); | ^~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:8361:36: note: 'cx' declared here 8361 | JS_DefineDebuggerObject(JSContext* cx, HandleObject obj) | ~~~~~~~~~~~^~ 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_89(D) + 12B]' [-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:5875:35: note: 'cx' declared here 5875 | DebuggerSource_getText(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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_75(D) + 12B]' [-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:6623:35: note: 'cx' declared here 6623 | DebuggerFrame_setOnPop(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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_289(D) + 12B]' [-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:6451:39: note: 'cx' declared here 6451 | DebuggerFrame_getArguments(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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_94(D) + 12B]' [-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:458:45: note: 'cx' declared here 458 | Debugger::getScriptFrameWithIter(JSContext* cx, AbstractFramePtr frame, | ~~~~~~~~~~~^~ 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::onTrap(JSContext*, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:1481:61: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'scriptGlobal' in 'MEM[(struct Rooted * *)cx_253(D) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp: In function 'js::Debugger::onTrap(JSContext*, JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:1481:27: note: 'scriptGlobal' declared here 1481 | Rooted scriptGlobal(cx, &script->global()); | ^~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:1476:29: note: 'cx' declared here 1476 | Debugger::onTrap(JSContext* cx, MutableHandleValue vp) | ~~~~~~~~~~~^~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move 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::ArrayObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'DebuggerEnv_names(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:8114: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_162(D) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp: In function 'DebuggerEnv_names(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:8114:18: note: 'arr' declared here 8114 | RootedObject arr(cx, NewDenseEmptyArray(cx)); | ^~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:8101:30: note: 'cx' declared here 8101 | DebuggerEnv_names(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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_185(D) + 12B]' [-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:7075:45: note: 'cx' declared here 7075 | DebuggerObject_getParameterNames(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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_99(D) + 12B]' [-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:6370:35: note: 'cx' declared here 6370 | DebuggerFrame_getOlder(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() 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 '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_146(D) + 12B]' [-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:5500:41: note: 'cx' declared here 5500 | DebuggerScript_setBreakpoint(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [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 '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_115(D) + 12B]' [-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:6578:36: note: 'cx' declared here 6578 | DebuggerFrame_setOnStep(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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 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_88(D) + 12B]' [-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:3166:37: note: 'cx' declared here 3166 | Debugger::removeDebuggee(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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_61(D) + 12B]' [-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:3301:32: note: 'cx' declared here 3301 | Debugger::construct(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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_112(D) + 12B]' [-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:7125:37: note: 'cx' declared here 7125 | DebuggerObject_getScript(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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_99(D) + 12B]' [-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:5961:49: note: 'cx' declared here 5961 | DebuggerSource_getIntroductionScript(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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_214(D) + 12B]' [-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:4830:43: note: 'cx' declared here 4830 | DebuggerScript_getChildScripts(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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_178(D) + 12B]' [-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:6508:36: note: 'cx' declared here 6508 | DebuggerFrame_getScript(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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_89(D) + 12B]' [-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:4786:37: note: 'cx' declared here 4786 | DebuggerScript_getSource(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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_99(D) + 12B]' [-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:7776:41: note: 'cx' declared here 7776 | DebuggerObject_asEnvironment(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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_126(D) + 12B]' [-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:7159:42: note: 'cx' declared here 7159 | DebuggerObject_getEnvironment(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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_134(D) + 12B]' [-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:6305:41: note: 'cx' declared here 6305 | DebuggerFrame_getEnvironment(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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::Debugger::wrapDebuggeeValue(JSContext*, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:821:58: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'fun' in 'MEM[(struct Rooted * *)cx_224(D) + 12B]' [-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:821:28: note: 'fun' declared here 821 | RootedFunction fun(cx, &obj->as()); | ^~~ src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:812:40: note: 'cx' declared here 812 | Debugger::wrapDebuggeeValue(JSContext* cx, MutableHandleValue vp) | ~~~~~~~~~~~^~ 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_104(D) + 52B]' [-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:1084:41: note: 'cx' declared here 1084 | Debugger::newCompletionValue(JSContext* cx, JSTrapStatus status, Value value_, | ~~~~~~~~~~~^~ 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_309(D) + 12B]' [-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:7592:24: note: 'cx' declared here 7592 | ApplyOrCall(JSContext* cx, unsigned argc, Value* vp, ApplyOrCallMode mode) | ~~~~~~~~~~~^~ 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_543(D) + 28B]' [-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:6721:32: note: 'cx' declared here 6721 | DebuggerGenericEval(JSContext* cx, const char* fullMethodName, const Value& code, | ~~~~~~~~~~~^~ 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) + 12B]' [-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:7760:55: note: 'cx' declared here 7760 | DebuggerObject_executeInGlobalWithBindings(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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) + 12B]' [-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:7745:43: note: 'cx' declared here 7745 | DebuggerObject_executeInGlobal(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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_104(D) + 12B]' [-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:6865:43: note: 'cx' declared here 6865 | DebuggerFrame_evalWithBindings(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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) + 12B]' [-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:6852:31: note: 'cx' declared here 6852 | DebuggerFrame_eval(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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_79(D) + 12B]' [-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:3124:34: note: 'cx' declared here 3124 | Debugger::addDebuggee(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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_56(D) + 12B]' [-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:4292:48: note: 'cx' declared here 4292 | Debugger::makeGlobalObjectReference(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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_58(D) + 12B]' [-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:7794:34: note: 'cx' declared here 7794 | DebuggerObject_unwrap(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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_108(D) + 12B]' [-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:7680:45: note: 'cx' declared here 7680 | DebuggerObject_makeDebuggeeValue(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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_240(D) + 12B]' [-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:7308:52: note: 'cx' declared here 7308 | DebuggerObject_getOwnPropertyDescriptor(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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_74(D) + 12B]' [-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:7262:37: note: 'cx' declared here 7262 | DebuggerObject_getGlobal(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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_107(D) + 12B]' [-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:7234:45: note: 'cx' declared here 7234 | DebuggerObject_getBoundArguments(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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_54(D) + 12B]' [-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:7221:40: note: 'cx' declared here 7221 | DebuggerObject_getBoundThis(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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_53(D) + 12B]' [-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:7207:50: note: 'cx' declared here 7207 | DebuggerObject_getBoundTargetFunction(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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_75(D) + 12B]' [-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:7053:42: note: 'cx' declared here 7053 | DebuggerObject_getDisplayName(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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_78(D) + 12B]' [-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:7031:35: note: 'cx' declared here 7031 | DebuggerObject_getName(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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_118(D) + 12B]' [-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:6990:36: note: 'cx' declared here 6990 | DebuggerObject_getProto(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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_66(D) + 12B]' [-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:5953:46: note: 'cx' declared here 5953 | DebuggerSource_getElementProperty(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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_69(D) + 12B]' [-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:5938:38: note: 'cx' declared here 5938 | DebuggerSource_getElement(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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_83(D) + 12B]' [-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:4817:37: note: 'cx' declared here 4817 | DebuggerScript_getGlobal(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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_84(D) + 12B]' [-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:4728:42: note: 'cx' declared here 4728 | DebuggerScript_getDisplayName(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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_140(D) + 12B]' [-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:6349:34: note: 'cx' declared here 6349 | DebuggerFrame_getThis(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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_100(D) + 12B]' [-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:6322:36: note: 'cx' declared here 6322 | DebuggerFrame_getCallee(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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_219(D) + 12B]' [-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:6392:37: note: 'cx' declared here 6392 | DebuggerArguments_getArg(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/util/options_parser/option_section.h:29, from src/mongo/db/mongod_options.h:38, from src/mongo/db/repl/repl_set_config.cpp:38: src/mongo/util/options_parser/option_description.h:190:24: warning: identifier 'requires' is a keyword in C++20 [-Wc++20-compat] 190 | OptionDescription& requires(const std::string& otherDottedName); | ^~~~~~~~ In file included from src/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 { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/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 { | ^~~~~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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, long long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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/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 { | ^~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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++/13/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:731: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:970: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)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/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 { | ^~~~~~~~~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from 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 { | ^~~~~ 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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/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 { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.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/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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 { | ^~~~~ 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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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/i386/linux/build -Isrc/third_party/mozjs-45/platform/i386/linux/build -Ibuild/fedora/third_party/mozjs-45/platform/i386/linux/include -Isrc/third_party/mozjs-45/platform/i386/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/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 /usr/include/string.h:535, from /usr/include/c++/13/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:731:14, inlined from 'mongo::BSONObjBuilder::append(mongo::StringData, std::vector > const&)mongo::BSONObjBuilder&' at src/mongo/bson/bsonobjbuilder.h:970: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)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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/i386/linux/include -Ibuild/fedora -Isrc src/mongo/scripting/mozjs/session.cpp 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return 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::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [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::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 /usr/include/string.h:535, from /usr/include/c++/13/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:731:14, inlined from 'mongo::BSONObjBuilder::append(mongo::StringData, std::vector > const&)mongo::BSONObjBuilder&' at src/mongo/bson/bsonobjbuilder.h:970: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)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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/i386/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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/i386/linux/build -Isrc/third_party/mozjs-45/platform/i386/linux/build -Ibuild/fedora/third_party/mozjs-45/platform/i386/linux/include -Isrc/third_party/mozjs-45/platform/i386/linux/include src/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src9.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/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/i386/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 | ^~~~~~~~ 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/i386/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 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 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 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 = 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/libdbdirectclient.a build/fedora/mongo/db/dbdirectclient.o Skipping ranlib for thin archive build/fedora/mongo/db/libdbdirectclient.a 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/base/status.cpp 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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/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::Value&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::ToPropertyKey(JSContext*, JS::Value, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:577:33, inlined from 'js::ToIdOperation(JSContext*, JS::Handle, unsigned char*, JS::Handle, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/vm/Interpreter-inl.h:407:23: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'key' in 'MEM[(struct Rooted * *)cx_198(D) + 52B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsobjinlines.h: In function 'js::ToIdOperation(JSContext*, JS::Handle, unsigned char*, JS::Handle, JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:577:17: note: 'key' declared here 577 | RootedValue key(cx, argument); | ^~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/BaselineCompiler.cpp:30, from src/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src9.cpp:29: src/third_party/mozjs-45/extract/js/src/vm/Interpreter-inl.h:398:26: note: 'cx' declared here 398 | ToIdOperation(JSContext* cx, HandleScript script, jsbytecode* pc, HandleValue idval, | ~~~~~~~~~~~^~ 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 * *)_43 + 12B]' [-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_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:1526:41: note: 'this' declared here 1526 | BaselineCompiler::emit_JSOP_CALLSITEOBJ() | ^ 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 * *)_51 + 12B]' [-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:1499:36: note: 'this' declared here 1499 | BaselineCompiler::emit_JSOP_OBJECT() | ^ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/util/uuid.cpp 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/base/initializer.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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/logger/redaction.cpp 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/base/data_range.cpp 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/bson/bsonobjbuilder.cpp 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/bson/bsontypes.cpp 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/logger/log_manager.cpp 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/base/init.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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/bson/bsonelement.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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/bson/bson_validate.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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/logger/logger.cpp 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/util/base64.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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 In file included from /usr/include/string.h:535, from /usr/include/c++/13/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:731:14, inlined from 'mongo::BSONObjBuilder::append(mongo::StringData, std::vector > const&)mongo::BSONObjBuilder&' at src/mongo/bson/bsonobjbuilder.h:970:26, inlined from 'mongo::BSONObjBuilderValueStream::operator<< > >(std::vector >)mongo::BSONObjBuilder&' at src/mongo/bson/bsonobjbuilder.h:1060: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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/util/file.cpp 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/util/time_support.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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/util/platform_init.cpp In file included from /usr/include/string.h:535, from /usr/include/c++/13/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, 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)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/base/validate_locale.cpp In file included from src/mongo/db/jsobj.h:46, from src/mongo/bson/bsonobj.cpp:32: In member function 'mongo::BSONElement::BSONElement(char const*)', inlined from 'mongo::BSONElement::BSONElement(char const*)' at src/mongo/bson/bsonelement.h:655:14, inlined from 'mongo::BSONObj::firstElement() const' at src/mongo/bson/bsonobj.h:476:41, inlined from 'mongo::BSONObj::replaceFieldNames(mongo::BSONObj const&) const' at src/mongo/bson/bsonobj.cpp:371:72: src/mongo/bson/bsonelement.h:660:36: warning: offset '5' outside bounds of constant string [-Warray-bounds=] 660 | fieldNameSize_ = strlen(d + 1 /*skip type*/) + 1 /*include NUL byte*/; | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from src/mongo/bson/bsonmisc.h:33, from src/mongo/db/jsobj.h:47: src/mongo/bson/bsonobj.h: In member function 'mongo::BSONObj::replaceFieldNames(mongo::BSONObj const&) const': src/mongo/bson/bsonobj.h:120:27: note: 'mongo::BSONObj::BSONObj()::kEmptyObjectPrototype' declared here 120 | static const char kEmptyObjectPrototype[] = {/*size*/ kMinBSONLength, 0, 0, 0, /*eoo*/ 0}; | ^~~~~~~~~~~~~~~~~~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/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 { | ^~~~~~~~ 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 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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = 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/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/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300: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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return 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_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move 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_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 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::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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 { | ^~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/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/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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/ucnv_err.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/builder.h:47, from src/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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, 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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::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::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::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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_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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::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 src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with 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/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/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 { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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/i386/linux/build -Isrc/third_party/mozjs-45/platform/i386/linux/build -Ibuild/fedora/third_party/mozjs-45/platform/i386/linux/include -Isrc/third_party/mozjs-45/platform/i386/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 | ^~~~~~~~~~~~~~ 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 g++ -o build/fedora/third_party/mozjs-45/platform/i386/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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/i386/linux/build -Isrc/third_party/mozjs-45/platform/i386/linux/build -Ibuild/fedora/third_party/mozjs-45/platform/i386/linux/include -Isrc/third_party/mozjs-45/platform/i386/linux/include src/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src20.cpp 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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/shared/Lowering-shared.h:13, from src/third_party/mozjs-45/extract/js/src/jit/x86-shared/Lowering-x86-shared.h:10, from src/third_party/mozjs-45/extract/js/src/jit/x86-shared/Lowering-x86-shared.cpp:7, from src/third_party/mozjs-45/platform/i386/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/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 | ^~~~~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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 | ^~~~~~~~~~~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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/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 = 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/executor/network_interface.cpp 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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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_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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 In file included from src/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 { | ^~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from /usr/include/string.h:535, from /usr/include/c++/13/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:731:14, inlined from 'mongo::BSONObjBuilder::append(mongo::StringData, std::vector > const&)mongo::BSONObjBuilder&' at src/mongo/bson/bsonobjbuilder.h:970: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)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/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 { | ^~~~~~~~~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with 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 g++ -o build/fedora/third_party/mozjs-45/platform/i386/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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/i386/linux/build -Isrc/third_party/mozjs-45/platform/i386/linux/build -Ibuild/fedora/third_party/mozjs-45/platform/i386/linux/include -Isrc/third_party/mozjs-45/platform/i386/linux/include src/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src29.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/DebuggerMemory.h:11, from src/third_party/mozjs-45/extract/js/src/vm/DebuggerMemory.cpp:7, from src/third_party/mozjs-45/platform/i386/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/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 | ^~~~~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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/DebuggerMemory.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 | ^~~~~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/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/DebuggerMemory.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/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 | ^~~~~~~~~~~~~~ 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/i386/linux/build/Unified_cpp_js_src29.cpp:47: 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 | ^~~~~~~~~~~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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 .isra.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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src29.cpp:38: src/third_party/mozjs-45/extract/js/src/vm/GlobalObject.cpp: In function 'CreateBlankProto(JSContext*, js::Class const*, JS::Handle, JS::Handle) [clone .isra.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:477:29: note: 'cx' declared here 477 | CreateBlankProto(JSContext* cx, const Class* clasp, HandleObject proto, HandleObject global) | ~~~~~~~~~~~^~ In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted&>(JSContext* const&, JS::MutableHandle&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'JSCompartment::wrap(JSContext*, JS::MutableHandle, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/jscompartmentinlines.h:106:29: 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) + 52B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:29: src/third_party/mozjs-45/extract/js/src/jscompartmentinlines.h: In member function 'JSCompartment::wrap(JSContext*, JS::MutableHandle, JS::Handle)': src/third_party/mozjs-45/extract/js/src/jscompartmentinlines.h:106:21: note: 'v' declared here 106 | JS::RootedValue v(cx, vp); | ^ src/third_party/mozjs-45/extract/js/src/jscompartmentinlines.h:57:32: note: 'cx' declared here 57 | JSCompartment::wrap(JSContext* cx, JS::MutableHandleValue vp, JS::HandleObject existing) | ~~~~~~~~~~~^~ 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_67(D) + 12B]' [-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:139:55: note: 'cx' declared here 139 | DebuggerMemory::setTrackingAllocationSites(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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_55(D) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:343:56: note: 'cx' declared here 343 | DebuggerMemory::setTrackingTenurePromotions(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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_34(D) + 12B]' [-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:479:51: note: 'cx' declared here 479 | DebuggerMemory::getOnGarbageCollection(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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_34(D) + 12B]' [-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:486:51: note: 'cx' declared here 486 | DebuggerMemory::setOnGarbageCollection(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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_80(D) + 12B]' [-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:300:61: note: 'cx' declared here 300 | DebuggerMemory::setAllocationSamplingProbability(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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::ErrorObject::checkAndUnwrapThis(JSContext*, JS::CallArgs&, char const*, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/vm/ErrorObject.cpp:183:26: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'proto' in 'MEM[(struct Rooted * *)cx_80(D) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src29.cpp:11: src/third_party/mozjs-45/extract/js/src/vm/ErrorObject.cpp: In function 'js::ErrorObject::checkAndUnwrapThis(JSContext*, JS::CallArgs&, char const*, JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/vm/ErrorObject.cpp:183:18: note: 'proto' declared here 183 | RootedObject proto(cx); | ^~~~~ src/third_party/mozjs-45/extract/js/src/vm/ErrorObject.cpp:162:48: note: 'cx' declared here 162 | js::ErrorObject::checkAndUnwrapThis(JSContext* cx, CallArgs& args, const char* fnName, | ~~~~~~~~~~~^~ 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_253(D) + 12B]' [-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:523:39: note: 'cx' declared here 523 | DebuggerMemory::takeCensus(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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_62(D) + 12B]' [-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:439:60: note: 'cx' declared here 439 | DebuggerMemory::setMaxTenurePromotionsLogLength(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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_62(D) + 12B]' [-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:260:55: note: 'cx' declared here 260 | DebuggerMemory::setMaxAllocationsLogLength(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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::GlobalObject::warnOnceAbout(JSContext*, JS::Handle, js::GlobalObject::WarnOnceFlag, unsigned int)' at src/third_party/mozjs-45/extract/js/src/vm/GlobalObject.cpp:443:52: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'global' in 'MEM[(struct Rooted * *)cx_56(D) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/GlobalObject.cpp: In function 'js::GlobalObject::warnOnceAbout(JSContext*, JS::Handle, js::GlobalObject::WarnOnceFlag, unsigned int)': src/third_party/mozjs-45/extract/js/src/vm/GlobalObject.cpp:443:27: note: 'global' declared here 443 | Rooted global(cx, &obj->global()); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/vm/GlobalObject.cpp:440:40: note: 'cx' declared here 440 | GlobalObject::warnOnceAbout(JSContext* cx, HandleObject obj, WarnOnceFlag flag, | ~~~~~~~~~~~^~ 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_317(D) + 12B]' [-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:363:53: note: 'cx' declared here 363 | DebuggerMemory::drainTenurePromotionsLog(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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_380(D) + 12B]' [-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:177:48: note: 'cx' declared here 177 | DebuggerMemory::drainAllocationsLog(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(js::ExclusiveContext* const&, js::GlobalObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::GlobalObject::getRegExpStatics(js::ExclusiveContext*) const' at src/third_party/mozjs-45/extract/js/src/vm/GlobalObject.cpp:599:67: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'self' in 'MEM[(struct Rooted * *)cx_52(D) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/GlobalObject.cpp: In member function 'js::GlobalObject::getRegExpStatics(js::ExclusiveContext*) const': src/third_party/mozjs-45/extract/js/src/vm/GlobalObject.cpp:599:27: note: 'self' declared here 599 | Rooted self(cx, const_cast(this)); | ^~~~ src/third_party/mozjs-45/extract/js/src/vm/GlobalObject.cpp:596:50: note: 'cx' declared here 596 | GlobalObject::getRegExpStatics(ExclusiveContext* cx) 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 '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_64(D) + 12B]' [-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:47:35: note: 'cx' declared here 47 | DebuggerMemory::create(JSContext* cx, Debugger* dbg) | ~~~~~~~~~~~^~ 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) + 12B]' [-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:363:32: note: 'cx' declared here 363 | InitBareBuiltinCtor(JSContext* cx, Handle global, JSProtoKey protoKey) | ~~~~~~~~~~~^~ 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) + 12B]' [-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:241:41: note: 'cx' declared here 241 | GlobalObject::createInternal(JSContext* cx, const Class* clasp) | ~~~~~~~~~~~^~ 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) + 12B]' [-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:677:44: note: 'cx' declared here 677 | GlobalObject::addIntrinsicValue(JSContext* cx, Handle global, | ~~~~~~~~~~~^~ In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::LegacyGeneratorObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::LegacyGeneratorObject::close(JSContext*, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/vm/GeneratorObject.cpp:200:81: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'genObj' in 'MEM[(struct Rooted * *)cx_103(D) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src29.cpp:29: src/third_party/mozjs-45/extract/js/src/vm/GeneratorObject.cpp: In function 'js::LegacyGeneratorObject::close(JSContext*, JS::Handle)': src/third_party/mozjs-45/extract/js/src/vm/GeneratorObject.cpp:200:37: note: 'genObj' declared here 200 | Rooted genObj(cx, &obj->as()); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/vm/GeneratorObject.cpp:198:41: note: 'cx' declared here 198 | LegacyGeneratorObject::close(JSContext* cx, HandleObject obj) | ~~~~~~~~~~~^~ 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::ForOfIterator::next(JS::MutableHandle, bool*)' at src/third_party/mozjs-45/extract/js/src/vm/ForOfIterator.cpp:152:59: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'resultObj' in 'MEM[(struct Rooted * *)_90 + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src29.cpp:20: src/third_party/mozjs-45/extract/js/src/vm/ForOfIterator.cpp: In member function 'JS::ForOfIterator::next(JS::MutableHandle, bool*)': src/third_party/mozjs-45/extract/js/src/vm/ForOfIterator.cpp:152:18: note: 'resultObj' declared here 152 | RootedObject resultObj(cx_, ToObject(cx_, args.rval())); | ^~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/ForOfIterator.cpp:123:54: note: 'this' declared here 123 | ForOfIterator::next(MutableHandleValue vp, bool* done) | ^ 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_118(D) + 16B]' [-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: 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/ErrorObject.cpp:36:34: note: 'cx' declared here 36 | js::ErrorObject::init(JSContext* cx, Handle obj, JSExnType type, | ~~~~~~~~~~~^~ 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_246(D) + 12B]' [-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:102:45: note: 'cx' declared here 102 | GlobalObject::resolveConstructor(JSContext* cx, Handle global, JSProtoKey key) | ~~~~~~~~~~~^~ 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_47(D) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:277:51: note: 'cx' declared here 277 | GlobalObject::initLegacyGeneratorProto(JSContext* cx, Handle global) | ~~~~~~~~~~~^~ 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_208(D) + 12B]' [-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:293:45: note: 'cx' declared here 293 | GlobalObject::initStarGenerators(JSContext* cx, Handle global) | ~~~~~~~~~~~^~ 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::GeneratorObject::create(JSContext*, js::AbstractFramePtr)' at src/third_party/mozjs-45/extract/js/src/vm/GeneratorObject.cpp:32:76: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'proto' in 'MEM[(struct Rooted * *)cx_197(D) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/GeneratorObject.cpp: In function 'js::GeneratorObject::create(JSContext*, js::AbstractFramePtr)': src/third_party/mozjs-45/extract/js/src/vm/GeneratorObject.cpp:32:22: note: 'proto' declared here 32 | RootedObject proto(cx, pval.isObject() ? &pval.toObject() : nullptr); | ^~~~~ src/third_party/mozjs-45/extract/js/src/vm/GeneratorObject.cpp:18:36: note: 'cx' declared here 18 | GeneratorObject::create(JSContext* cx, AbstractFramePtr frame) | ~~~~~~~~~~~^~ 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) + 12B]' [-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)); | ^~~~~~~~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/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/third_party/mozjs-45/extract/js/src/vm/GlobalObject.cpp:490:47: note: 'cx' declared here 490 | GlobalObject::createBlankPrototype(JSContext* cx, const Class* clasp) | ~~~~~~~~~~~^~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 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 { | ^~~~~ 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++/13/bits/stl_pair.h:194: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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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 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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/db/pipeline/value.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 { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 file included from src/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 { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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/bid128_erf.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ 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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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_sinh.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_round_integral.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_bid64.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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/bid32_to_int64.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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_to_int16.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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/bid32_tgamma.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_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_to_int16.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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/IntelRDFPMathLib20U1/LIBRARY/src/bid128_next.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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/bid32_string.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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/IntelRDFPMathLib20U1/LIBRARY/src/bid_feclearexcept.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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/bid64_erf.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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/float128/dpml_ux_ops.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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_fegetexceptflag.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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_compare.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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/bid32_sin.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_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_to_uint16.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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/bid128_sin.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_to_bid128.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_llrintd.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_scalb.c 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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_string.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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/src/bid64_lgamma.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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/bid32_llrintd.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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_logbd.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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_sqrt.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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/bid64_next.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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/bid128_quantexpd.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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/bid32_nearbyintd.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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/bid32_sqrt.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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/bid32_quantexpd.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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/IntelRDFPMathLib20U1/LIBRARY/src/bid128_scalbl.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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_fma.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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_add.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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/bid128_log.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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/bid128_2_str_tables.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_to_uint8.c 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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_cosh.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_cbrt.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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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_log.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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/float128/dpml_exception.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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/bid128_log10.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_atanh.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_int.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_exp.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_add.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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/bid128_to_int32.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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/bid64_tgamma.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_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/bid32_sub.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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/wcstod64.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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/src/bid128_nexttowardd.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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_erfc.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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/bid128_string.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 -DIA32=1 -Dia32=1 -Dgcc=1 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_compare.c cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/util/options_parser/option_section.h:29, from src/mongo/db/mongod_options.h:38, from src/mongo/db/auth/authorization_manager_impl.cpp:61: src/mongo/util/options_parser/option_description.h:190:24: warning: identifier 'requires' is a keyword in C++20 [-Wc++20-compat] 190 | OptionDescription& requires(const std::string& otherDottedName); | ^~~~~~~~ Using tempfile /tmp/tmp9ndjjmbt.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/tmp9ndjjmbt.lnk Skipping ranlib for thin archive build/fedora/third_party/IntelRDFPMathLib20U1/libintel_decimal128.a 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/scripting/dbdirectclient_factory.cpp 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 { | ^~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 In file included from src/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 { | ^~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from 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:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to 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 { | ^~~~~ 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/client/shard.cpp 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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/i386/linux/include -Ibuild/fedora -Isrc src/mongo/scripting/mozjs/nativefunction.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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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++/13/bits/stl_pair.h:194: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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/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, long long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::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 { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.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, long 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 long unsigned int; 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::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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 = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = 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::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::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ 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::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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 { | ^~~~~ 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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/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/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return 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::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with 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 src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return 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/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 = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/options_parser/option_section.h:29, from src/mongo/db/server_options_helpers.h:33, from src/mongo/db/server_options_helpers.cpp:31: src/mongo/util/options_parser/option_description.h:190:24: warning: identifier 'requires' is a keyword in C++20 [-Wc++20-compat] 190 | OptionDescription& requires(const std::string& otherDottedName); | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from 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: 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, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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 { | ^~~~~ In file included from /usr/include/string.h:535, from /usr/include/c++/13/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:731: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:970:26, inlined from 'mongo::BoundServerParameter, std::allocator >, std::allocator, std::allocator > > > >::append(mongo::OperationContext*, mongo::BSONObjBuilder&, std::__cxx11::basic_string, std::allocator > const&)' at src/mongo/db/server_parameters.h:174:17: /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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from /usr/include/string.h:535, from /usr/include/c++/13/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, 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_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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from 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 { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move 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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return 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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with 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::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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 { | ^~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from 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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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/i386/linux/include -Ibuild/fedora -Isrc src/mongo/scripting/mozjs/valuereader.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_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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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/include/js/CallArgs.h:38, from src/third_party/mozjs-45/include/jsapi.h:27, from src/mongo/scripting/mozjs/valuereader.h:31, from src/mongo/scripting/mozjs/valuereader.cpp:33: 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::ValueReader::fromBSONElement(mongo::BSONElement const&, mongo::BSONObj const&, bool)' at src/mongo/scripting/mozjs/valuereader.cpp:128:42: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)_272 + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/scripting/mozjs/valuereader.cpp: In member function 'mongo::mozjs::ValueReader::fromBSONElement(mongo::BSONElement const&, mongo::BSONObj const&, bool)': src/mongo/scripting/mozjs/valuereader.cpp:128:30: note: 'obj' declared here 128 | JS::RootedObject obj(_context); | ^~~ src/mongo/scripting/mozjs/valuereader.cpp:53:96: note: 'this' declared here 53 | void ValueReader::fromBSONElement(const BSONElement& elem, const BSONObj& parent, bool readOnly) { | ^ 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&, JSObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'mongo::mozjs::ValueReader::fromBSONArray(mongo::BSONObj const&, mongo::BSONObj const*, bool)' at src/mongo/scripting/mozjs/valuereader.cpp:239:70: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'array' in 'MEM[(struct Rooted * *)_48 + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/scripting/mozjs/valuereader.cpp: In member function 'mongo::mozjs::ValueReader::fromBSONArray(mongo::BSONObj const&, mongo::BSONObj const*, bool)': src/mongo/scripting/mozjs/valuereader.cpp:239:22: note: 'array' declared here 239 | JS::RootedObject array(_context, JS_NewArrayObject(_context, avv)); | ^~~~~ src/mongo/scripting/mozjs/valuereader.cpp:228:89: note: 'this' declared here 228 | void ValueReader::fromBSONArray(const BSONObj& obj, const BSONObj* parent, bool readOnly) { | ^ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move 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/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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() 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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__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::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move 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::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* 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:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return 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:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [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::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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/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 file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move 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/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 { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return 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/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return 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/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 = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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 { | ^~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/c++/13/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 int) 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 4294967295 exceeds maximum object size 2147483647 [-Wstringop-overread] 102 | return __builtin_memchr (__s, __c, __n); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move 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/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/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/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603: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::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move 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/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from 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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with 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::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move 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::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return 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::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with 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_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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 { | ^~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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/i386/linux/include -Ibuild/fedora -Isrc src/mongo/scripting/mozjs/jscustomallocator.cpp 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 { | ^~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/third_party/mozjs-45/platform/i386/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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/i386/linux/build -Isrc/third_party/mozjs-45/platform/i386/linux/build -Ibuild/fedora/third_party/mozjs-45/platform/i386/linux/include -Isrc/third_party/mozjs-45/platform/i386/linux/include src/third_party/mozjs-45/platform/i386/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/i386/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/third_party/mozjs-45/extract/js/src/jit/Lowering.cpp:16, from src/third_party/mozjs-45/platform/i386/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/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 | ^~~~~~~~~~~~~~ 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::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 = 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/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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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/i386/linux/include -Ibuild/fedora -Isrc src/mongo/scripting/mozjs/cursor_handle.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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/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 { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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/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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/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 { | ^~~~~~~~~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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, long 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__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::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_text_base.h:31, from src/mongo/db/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::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::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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/i386/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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/i386/linux/build -Isrc/third_party/mozjs-45/platform/i386/linux/build -Ibuild/fedora/third_party/mozjs-45/platform/i386/linux/include -Isrc/third_party/mozjs-45/platform/i386/linux/include src/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src31.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/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/jshashutil.h:10, from src/third_party/mozjs-45/extract/js/src/vm/ObjectGroup.cpp:9, from src/third_party/mozjs-45/platform/i386/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/gc/Tracer.h:12, from src/third_party/mozjs-45/extract/js/src/ds/IdValuePair.h:13, from src/third_party/mozjs-45/extract/js/src/vm/ObjectGroup.h:13, from src/third_party/mozjs-45/extract/js/src/vm/ObjectGroup.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/vm/ObjectGroup.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/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/ObjectGroup.h: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: 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/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::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::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)); | ~~~~~~^~~~~~~~~~~~~~~~~~ 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/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::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/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(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 int)' 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) + 52B]' [-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 int)': 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:1149:44: note: 'cx' declared here 1149 | AddPlainObjectProperties(ExclusiveContext* cx, HandlePlainObject obj, | ~~~~~~~~~~~~~~~~~~^~ 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 int, 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) + 12B]' [-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 int, 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:1166:52: note: 'cx' declared here 1166 | js::NewPlainObjectWithProperties(ExclusiveContext* cx, IdValuePair* properties, size_t nproperties, | ~~~~~~~~~~~~~~~~~~^~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::TaggedProto&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::ObjectGroup::setDefaultNewGroupUnknown(JSContext*, js::Class const*, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/vm/ObjectGroup.cpp:646:61: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'taggedProto' in 'MEM[(struct Rooted * *)cx_45(D) + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/ObjectGroup.cpp: In function 'js::ObjectGroup::setDefaultNewGroupUnknown(JSContext*, js::Class const*, JS::Handle)': src/third_party/mozjs-45/extract/js/src/vm/ObjectGroup.cpp:646:29: note: 'taggedProto' declared here 646 | Rooted taggedProto(cx, TaggedProto(obj)); | ^~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/ObjectGroup.cpp:641:51: note: 'cx' declared here 641 | ObjectGroup::setDefaultNewGroupUnknown(JSContext* cx, const Class* clasp, HandleObject obj) | ~~~~~~~~~~~^~ 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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src31.cpp:11: 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:23:44: note: 'cx' declared here 23 | js::ForOfPIC::Chain::initialize(JSContext* cx) | ~~~~~~~~~~~^~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/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 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 'JSObject::makeLazyGroup(JSContext*, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/vm/ObjectGroup.cpp:310:54: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'fun' in 'MEM[(struct Rooted * *)cx_97(D) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/ObjectGroup.cpp: In function 'JSObject::makeLazyGroup(JSContext*, JS::Handle)': src/third_party/mozjs-45/extract/js/src/vm/ObjectGroup.cpp:310:24: note: 'fun' declared here 310 | RootedFunction fun(cx, &obj->as()); | ^~~ src/third_party/mozjs-45/extract/js/src/vm/ObjectGroup.cpp:303:36: note: 'cx' declared here 303 | JSObject::makeLazyGroup(JSContext* cx, HandleObject obj) | ~~~~~~~~~~~^~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:267:38: note: 'cx' declared here 267 | JSObject::splicePrototype(JSContext* cx, const Class* clasp, Handle proto) | ~~~~~~~~~~~^~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::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 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 int, 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_1075(D) + 24B]' [-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 int, 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:1177:47: note: 'cx' declared here 1177 | ObjectGroup::newPlainObject(ExclusiveContext* cx, IdValuePair* properties, size_t nproperties, | ~~~~~~~~~~~~~~~~~~^~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/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 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::ObjectGroup::getOrFixupCopyOnWriteObject(JSContext*, JS::Handle, unsigned char*)' at src/third_party/mozjs-45/extract/js/src/vm/ObjectGroup.cpp:1536:90: 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) + 12B]' [-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:1536:23: note: 'obj' declared here 1536 | RootedArrayObject obj(cx, &script->getObject(GET_UINT32_INDEX(pc))->as()); | ^~~ src/third_party/mozjs-45/extract/js/src/vm/ObjectGroup.cpp:1532:53: note: 'cx' declared here 1532 | ObjectGroup::getOrFixupCopyOnWriteObject(JSContext* cx, HandleScript script, jsbytecode* pc) | ~~~~~~~~~~~^~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from 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 { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 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/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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/rpc/message.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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() 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/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 { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [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 file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/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::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/third_party/mozjs-45/platform/i386/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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/i386/linux/build -Isrc/third_party/mozjs-45/platform/i386/linux/build -Ibuild/fedora/third_party/mozjs-45/platform/i386/linux/include -Isrc/third_party/mozjs-45/platform/i386/linux/include src/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src7.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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/mozjs-45/platform/i386/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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/i386/linux/build -Isrc/third_party/mozjs-45/platform/i386/linux/build -Ibuild/fedora/third_party/mozjs-45/platform/i386/linux/include -Isrc/third_party/mozjs-45/platform/i386/linux/include src/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src4.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/i386/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/frontend/BytecodeCompiler.cpp:9, from src/third_party/mozjs-45/platform/i386/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/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 | ^~~~~~~~~ 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/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/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 | ^~~~~~~~ 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/i386/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 = 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 = unsigned int; 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 = unsigned int; 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 = unsigned int; 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; 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; 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; 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 | ^~~~~~~~~~~~~~ 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(js::ExclusiveContext* const&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:708:30, inlined from 'FoldTypeOfExpr(js::ExclusiveContext*, js::frontend::ParseNode*, js::frontend::Parser&, bool)' at src/third_party/mozjs-45/extract/js/src/frontend/FoldConstants.cpp:575:33, inlined from 'Fold(js::ExclusiveContext*, js::frontend::ParseNode**, js::frontend::Parser&, bool)' at src/third_party/mozjs-45/extract/js/src/frontend/FoldConstants.cpp:1721:30: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'result' in 'MEM[(struct Rooted * *)cx_73(D) + 28B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src4.cpp:29: src/third_party/mozjs-45/extract/js/src/frontend/FoldConstants.cpp: In function 'Fold(js::ExclusiveContext*, js::frontend::ParseNode**, js::frontend::Parser&, bool)': src/third_party/mozjs-45/extract/js/src/frontend/FoldConstants.cpp:575:24: note: 'result' declared here 575 | RootedPropertyName result(cx); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/frontend/FoldConstants.cpp:1687:24: note: 'cx' declared here 1687 | Fold(ExclusiveContext* cx, ParseNode** pnp, Parser& parser, bool inGenexpLambda) | ~~~~~~~~~~~~~~~~~~^~ 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) + 40B]' [-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:402:55: note: 'cx' declared here 402 | BytecodeCompiler::checkArgumentsWithinEval(JSContext* cx, HandleFunction fun) | ~~~~~~~~~~~^~ 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 + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/platform/i386/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:2495:53: note: 'this' declared here 2495 | BytecodeEmitter::iteratorResultShape(unsigned* shape) | ^ In file included from src/third_party/mozjs-45/platform/i386/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::resolveFun(js::frontend::ParseNode*, JS::Handle, JS::MutableHandle) [clone .isra.0]': src/third_party/mozjs-45/extract/js/src/frontend/NameFunctions.cpp:184:19: warning: storing the address of local variable 'buf' in 'this_5(D)->buf' [-Wdangling-pointer=] 184 | this->buf = &buf; | ~~~~~~~~~~^~~~~~ src/third_party/mozjs-45/extract/js/src/frontend/NameFunctions.cpp:183:22: note: 'buf' declared here 183 | StringBuffer buf(cx); | ^~~ src/third_party/mozjs-45/extract/js/src/frontend/NameFunctions.cpp:177:80: note: 'this' declared here 177 | bool resolveFun(ParseNode* pn, HandleAtom prefix, MutableHandleAtom retAtom) { | ^ 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 + 28B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:335:64: note: 'this' declared here 335 | bool resolve(ParseNode* cur, HandleAtom prefixArg = nullptr) { | ^ 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 'js::frontend::ParseNode::getConstantValue(js::ExclusiveContext*, js::frontend::ParseNode::AllowConstantObjects, JS::MutableHandle, JS::Value*, unsigned int, js::NewObjectKind)' at src/third_party/mozjs-45/extract/js/src/frontend/BytecodeEmitter.cpp:4838:27: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'id' in 'MEM[(struct Rooted * *)cx_233(D) + 48B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/frontend/BytecodeEmitter.cpp: In member function 'js::frontend::ParseNode::getConstantValue(js::ExclusiveContext*, js::frontend::ParseNode::AllowConstantObjects, JS::MutableHandle, JS::Value*, unsigned int, js::NewObjectKind)': src/third_party/mozjs-45/extract/js/src/frontend/BytecodeEmitter.cpp:4838:22: note: 'id' declared here 4838 | RootedId id(cx); | ^~ src/third_party/mozjs-45/extract/js/src/frontend/BytecodeEmitter.cpp:4736:47: note: 'cx' declared here 4736 | ParseNode::getConstantValue(ExclusiveContext* cx, AllowConstantObjects allowObjects, MutableHandleValue vp, | ~~~~~~~~~~~~~~~~~~^~ In file included from src/third_party/mozjs-45/extract/js/src/frontend/FullParseHandler.h:14, from src/third_party/mozjs-45/extract/js/src/frontend/Parser.h:17, from src/third_party/mozjs-45/extract/js/src/frontend/BytecodeEmitter.h:19, from src/third_party/mozjs-45/extract/js/src/frontend/BytecodeCompiler.cpp:14: In member function 'js::frontend::StmtInfoStack::push(js::frontend::StmtInfoBCE*, js::frontend::StmtType)', inlined from 'js::frontend::BytecodeEmitter::pushStatementInner(js::frontend::StmtInfoBCE*, js::frontend::StmtType, int)' at src/third_party/mozjs-45/extract/js/src/frontend/BytecodeEmitter.cpp:709:19, inlined from 'js::frontend::BytecodeEmitter::pushStatement(js::frontend::StmtInfoBCE*, js::frontend::StmtType, int)' at src/third_party/mozjs-45/extract/js/src/frontend/BytecodeEmitter.cpp:715:23, inlined from 'js::frontend::BytecodeEmitter::emitSwitch(js::frontend::ParseNode*)' at src/third_party/mozjs-45/extract/js/src/frontend/BytecodeEmitter.cpp:3105:22: src/third_party/mozjs-45/extract/js/src/frontend/SharedContext.h:617:24: warning: storing the address of local variable 'stmtInfo' in 'MEM[(struct StmtInfoStack *)this_125(D) + 168B].innermostStmt_' [-Wdangling-pointer=] 617 | innermostStmt_ = stmt; | ~~~~~~~~~~~~~~~^~~~~~ src/third_party/mozjs-45/extract/js/src/frontend/BytecodeEmitter.cpp: In member function 'js::frontend::BytecodeEmitter::emitSwitch(js::frontend::ParseNode*)': src/third_party/mozjs-45/extract/js/src/frontend/BytecodeEmitter.cpp:3091:17: note: 'stmtInfo' declared here 3091 | StmtInfoBCE stmtInfo(cx); | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/frontend/BytecodeEmitter.cpp:3082:42: note: 'this' declared here 3082 | BytecodeEmitter::emitSwitch(ParseNode* pn) | ^ 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 * *)_140 + 12B]' [-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:6199:61: note: 'this' declared here 6199 | BytecodeEmitter::emitFunction(ParseNode* pn, bool needsProto) | ^ 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 * *)_64 + 12B]' [-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:565:47: note: 'this' declared here 565 | ModuleObject* BytecodeCompiler::compileModule() | ^ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/util/options_parser/option_section.h:29, from src/mongo/db/mongod_options.h:38, from src/mongo/db/mongod_options.cpp:31: src/mongo/util/options_parser/option_description.h:190:24: warning: identifier 'requires' is a keyword in C++20 [-Wc++20-compat] 190 | OptionDescription& requires(const std::string& otherDottedName); | ^~~~~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/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: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() 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/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 { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__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() { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return 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:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [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::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/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 { | ^~~~~~~~ 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 In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from 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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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++/13/bits/stl_pair.h:194: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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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_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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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) | ^ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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 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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/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 { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from 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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() 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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/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/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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/i386/linux/include -Ibuild/fedora -Isrc src/mongo/scripting/mozjs/minkey.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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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/i386/linux/build -Isrc/third_party/mozjs-45/platform/i386/linux/build -Ibuild/fedora/third_party/mozjs-45/platform/i386/linux/include -Isrc/third_party/mozjs-45/platform/i386/linux/include src/third_party/mozjs-45/extract/mfbt/Compression.cpp 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.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 { | ^~~~~~~~ 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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/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 { | ^~~~~~~~~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/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 /usr/bin/python3 buildscripts/idl/idlc.py --include src --base_dir build/fedora --target_arch i386 --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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* 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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/chunk.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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() 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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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 { | ^~~~~ 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from 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 { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; 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::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::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, 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS src/third_party/shim_stemmer.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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/client/fetcher.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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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/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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from 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 { | ^~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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/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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 /usr/include/string.h:535, from /usr/include/c++/13/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:731: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:970: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 .isra.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)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 In file included from src/mongo/util/options_parser/option_section.h:29, from src/mongo/util/options_parser/option_section.cpp:28: src/mongo/util/options_parser/option_description.h:190:24: warning: identifier 'requires' is a keyword in C++20 [-Wc++20-compat] 190 | OptionDescription& requires(const std::string& otherDottedName); | ^~~~~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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++/13/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(int, 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 In file included from src/mongo/util/options_parser/option_description.cpp:28: src/mongo/util/options_parser/option_description.h:190:24: warning: identifier 'requires' is a keyword in C++20 [-Wc++20-compat] 190 | OptionDescription& requires(const std::string& otherDottedName); | ^~~~~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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/i386/linux/include -Ibuild/fedora -Isrc src/mongo/scripting/mozjs/objectwrapper.cpp 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return 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/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 { | ^~~~~~~~~~~~ In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126: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::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move 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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.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 = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::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::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::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: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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 { | ^~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/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_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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_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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [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_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/platform/i386/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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/i386/linux/build -Isrc/third_party/mozjs-45/platform/i386/linux/build -Ibuild/fedora/third_party/mozjs-45/platform/i386/linux/include -Isrc/third_party/mozjs-45/platform/i386/linux/include src/third_party/mozjs-45/platform/i386/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/i386/linux/build/Unified_cpp_js_src30.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/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 | ^~~~~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/HeapAPI.h:12, from src/third_party/mozjs-45/include/js/Id.h:25, from src/third_party/mozjs-45/extract/js/src/vm/Id.cpp:7, from src/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src30.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/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 = 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 | ^~~~~~~~ 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/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 = 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/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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/include/js/Id.h:26: 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) + 16B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src30.cpp:47: 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:1068:35: note: 'cx' declared here 1068 | PurgeProtoChain(ExclusiveContext* cx, JSObject* objArg, HandleId id) | ~~~~~~~~~~~~~~~~~~^~ 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 'PurgeScopeChainHelper(js::ExclusiveContext*, JS::Handle, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/vm/NativeObject.cpp:1093: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_43(D) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.cpp: In function 'PurgeScopeChainHelper(js::ExclusiveContext*, JS::Handle, JS::Handle)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.cpp:1093:18: note: 'obj' declared here 1093 | RootedObject obj(cx, objArg); | ^~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.cpp:1090:41: note: 'cx' declared here 1090 | PurgeScopeChainHelper(ExclusiveContext* cx, HandleObject objArg, HandleId id) | ~~~~~~~~~~~~~~~~~~^~ 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 .isra.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) + 40B]' [-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 .isra.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:1800:35: note: 'cx' declared here 1800 | GetNonexistentProperty(JSContext* cx, HandleNativeObject obj, HandleId id, | ~~~~~~~~~~~^~ 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::ToPropertyKey(JSContext*, JS::Value, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:577:33: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'key' in 'MEM[(struct Rooted * *)cx_32(D) + 52B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsobjinlines.h: In function 'js::ToPropertyKey(JSContext*, JS::Value, JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:577:17: note: 'key' declared here 577 | RootedValue key(cx, argument); | ^~~ src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:574:26: note: 'cx' declared here 574 | ToPropertyKey(JSContext* cx, Value argument, MutableHandleId result) | ~~~~~~~~~~~^~ 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::RunState::maybeCreateThisForConstructor(JSContext*)' at src/third_party/mozjs-45/extract/js/src/vm/Interpreter.cpp:315:60: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'callee' in 'MEM[(struct Rooted * *)cx_85(D) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Interpreter.cpp: In member function 'js::RunState::maybeCreateThisForConstructor(JSContext*)': src/third_party/mozjs-45/extract/js/src/vm/Interpreter.cpp:315:26: note: 'callee' declared here 315 | RootedObject callee(cx, &invoke.args().callee()); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Interpreter.cpp:310:52: note: 'cx' declared here 310 | RunState::maybeCreateThisForConstructor(JSContext* cx) | ~~~~~~~~~~~^~ 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_135(D) + 52B]' [-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:747:29: note: 'cx' declared here 747 | js::LooselyEqual(JSContext* cx, HandleValue lval, HandleValue rval, bool* result) | ~~~~~~~~~~~^~ 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::EnterWithOperation(JSContext*, js::AbstractFramePtr, JS::Handle, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/vm/Interpreter.cpp:904:24: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_60(D) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Interpreter.cpp: In function 'js::EnterWithOperation(JSContext*, js::AbstractFramePtr, JS::Handle, JS::Handle)': src/third_party/mozjs-45/extract/js/src/vm/Interpreter.cpp:904:18: note: 'obj' declared here 904 | RootedObject obj(cx); | ^~~ src/third_party/mozjs-45/extract/js/src/vm/Interpreter.cpp:900:35: note: 'cx' declared here 900 | js::EnterWithOperation(JSContext* cx, AbstractFramePtr frame, HandleValue val, | ~~~~~~~~~~~^~ 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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 'js::NativeHasProperty(JSContext*, JS::Handle, JS::Handle, bool*)' at src/third_party/mozjs-45/extract/js/src/vm/NativeObject.cpp:1611: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_213(D) + 16B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.cpp: In function 'js::NativeHasProperty(JSContext*, JS::Handle, JS::Handle, bool*)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.cpp:1611:17: note: 'shape' declared here 1611 | RootedShape shape(cx); | ^~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.cpp:1608:34: note: 'cx' declared here 1608 | js::NativeHasProperty(JSContext* cx, HandleNativeObject obj, HandleId id, bool* foundp) | ~~~~~~~~~~~^~ 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) + 12B]' [-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:1972:38: note: 'cx' declared here 1972 | js::NativeGetPropertyNoGC(JSContext* cx, NativeObject* obj, const Value& receiver, jsid id, Value* vp) | ~~~~~~~~~~~^~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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) + 40B]' [-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:55:46: note: 'cx' declared here 55 | CloneFunctionObjectIfNotSingleton(JSContext* cx, HandleFunction fun, HandleObject parent, | ~~~~~~~~~~~^~ 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) + 12B]' [-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:4075:28: note: 'cx' declared here 4075 | js::LambdaArrow(JSContext* cx, HandleFunction fun, HandleObject parent, HandleValue newTargetv) | ~~~~~~~~~~~^~ 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_67(D) + 12B]' [-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:4203:34: note: 'cx' declared here 4203 | js::DeletePropertyJit(JSContext* cx, HandleValue v, HandlePropertyName name, bool* bp) | ~~~~~~~~~~~^~ 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_73(D) + 12B]' [-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:4203:34: note: 'cx' declared here 4203 | js::DeletePropertyJit(JSContext* cx, HandleValue v, HandlePropertyName name, bool* bp) | ~~~~~~~~~~~^~ 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_73(D) + 12B]' [-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:4231:33: note: 'cx' declared here 4231 | js::DeleteElementJit(JSContext* cx, HandleValue val, HandleValue index, bool* bp) | ~~~~~~~~~~~^~ 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_78(D) + 12B]' [-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:4231:33: note: 'cx' declared here 4231 | js::DeleteElementJit(JSContext* cx, HandleValue val, HandleValue index, bool* bp) | ~~~~~~~~~~~^~ 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_141(D) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(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::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/Interpreter.cpp:4565:35: note: 'cx' declared here 4565 | js::NewObjectOperation(JSContext* cx, HandleScript script, jsbytecode* pc, | ~~~~~~~~~~~^~ 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_47(D) + 12B]' [-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/Interpreter.cpp:4618:47: note: 'cx' declared here 4618 | js::NewObjectOperationWithTemplate(JSContext* cx, HandleObject templateObject) | ~~~~~~~~~~~^~ 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::maybeDensifySparseElements(js::ExclusiveContext*, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/vm/NativeObject.cpp:586:46: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'shape' in 'MEM[(struct Rooted * *)cx_150(D) + 16B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.cpp: In function 'js::NativeObject::maybeDensifySparseElements(js::ExclusiveContext*, JS::Handle)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.cpp:586:17: note: 'shape' declared here 586 | RootedShape shape(cx, obj->lastProperty()); | ^~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.cpp:557:64: note: 'cx' declared here 557 | NativeObject::maybeDensifySparseElements(js::ExclusiveContext* cx, HandleNativeObject obj) | ~~~~~~~~~~~~~~~~~~~~~~^~ 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_96(D) + 16B]' [-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/third_party/mozjs-45/extract/js/src/vm/NativeObject.cpp:1136:39: note: 'cx' declared here 1136 | AddOrChangeProperty(ExclusiveContext* cx, HandleNativeObject obj, HandleId id, | ~~~~~~~~~~~~~~~~~~^~ 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_181(D) + 12B]' [-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:2074:38: note: 'cx' declared here 2074 | js::SetPropertyByDefining(JSContext* cx, HandleId id, HandleValue v, HandleValue receiverValue, | ~~~~~~~~~~~^~ 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 '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:1917:53, inlined from 'js::NativeGetProperty(JSContext*, JS::Handle, JS::Handle, JS::Handle, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/vm/NativeObject.cpp:1968:42: 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) + 16B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.cpp: In function 'js::NativeGetProperty(JSContext*, JS::Handle, JS::Handle, JS::Handle, JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.cpp:1917:53: note: 'shape' declared here 1917 | typename MaybeRooted::RootType shape(cx); | ^~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.cpp:1965:34: note: 'cx' declared here 1965 | js::NativeGetProperty(JSContext* cx, HandleNativeObject obj, HandleValue receiver, HandleId id, | ~~~~~~~~~~~^~ 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_101(D) + 12B]' [-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:3980:28: note: 'cx' declared here 3980 | js::GetProperty(JSContext* cx, HandleValue v, HandlePropertyName name, MutableHandleValue vp) | ~~~~~~~~~~~^~ 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 'GetPropertyOperation(JSContext*, js::InterpreterFrame*, JS::Handle, unsigned char*, JS::MutableHandle, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/vm/Interpreter.cpp:194: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_97(D) + 28B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Interpreter.cpp: In function 'GetPropertyOperation(JSContext*, js::InterpreterFrame*, JS::Handle, unsigned char*, JS::MutableHandle, JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/vm/Interpreter.cpp:194:24: note: 'name' declared here 194 | RootedPropertyName name(cx, script->getName(pc)); | ^~~~ src/third_party/mozjs-45/extract/js/src/vm/Interpreter.cpp:179:33: note: 'cx' declared here 179 | GetPropertyOperation(JSContext* cx, InterpreterFrame* fp, HandleScript script, jsbytecode* pc, | ~~~~~~~~~~~^~ 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::GetElement(JSContext*, JS::Handle, JS::Handle, unsigned int, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:188: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_34(D) + 48B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsobjinlines.h: In function 'js::GetElement(JSContext*, JS::Handle, JS::Handle, unsigned int, JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:188:14: note: 'id' declared here 188 | RootedId id(cx); | ^~ src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:185:27: note: 'cx' declared here 185 | js::GetElement(JSContext* cx, HandleObject obj, HandleValue receiver, uint32_t index, | ~~~~~~~~~~~^~ 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) + 12B]' [-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.cpp:4258:27: note: 'cx' declared here 4258 | js::GetElement(JSContext* cx, MutableHandleValue lref, HandleValue rref, MutableHandleValue vp) | ~~~~~~~~~~~^~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from 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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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 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::DefaultDerivedClassConstructor(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/vm/Interpreter.cpp:4801:29: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'superFun' in 'MEM[(struct Rooted * *)cx_125(D) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Interpreter.cpp: In function 'js::DefaultDerivedClassConstructor(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/vm/Interpreter.cpp:4801:18: note: 'superFun' declared here 4801 | RootedObject superFun(cx); | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Interpreter.cpp:4792:47: note: 'cx' declared here 4792 | js::DefaultDerivedClassConstructor(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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 '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:1917:53, 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/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'shape' in 'MEM[(struct Rooted * *)cx_315(D) + 16B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.cpp: In function 'js::GetPropertyForNameLookup(JSContext*, JS::Handle, JS::Handle, JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.cpp:1917:53: note: 'shape' declared here 1917 | typename MaybeRooted::RootType shape(cx); | ^~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.cpp:1979:41: note: 'cx' declared here 1979 | js::GetPropertyForNameLookup(JSContext* cx, HandleObject obj, HandleId id, MutableHandleValue vp) | ~~~~~~~~~~~^~ 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::NativeGetExistingProperty(JSContext*, JS::Handle, JS::Handle, JS::Handle, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/vm/NativeObject.cpp:1737:57: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'receiverValue' in 'MEM[(struct Rooted * *)cx_85(D) + 52B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.cpp: In function 'js::NativeGetExistingProperty(JSContext*, JS::Handle, JS::Handle, JS::Handle, JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.cpp:1737:17: note: 'receiverValue' declared here 1737 | RootedValue receiverValue(cx, ObjectValue(*receiver)); | ^~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.cpp:1734:42: note: 'cx' declared here 1734 | js::NativeGetExistingProperty(JSContext* cx, HandleObject receiver, HandleNativeObject obj, | ~~~~~~~~~~~^~ 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::FetchName(JSContext*, JS::Handle, JS::Handle, JS::Handle, JS::Handle, JS::MutableHandle)bool' at src/third_party/mozjs-45/extract/js/src/vm/Interpreter-inl.h:194:22: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'normalized' in 'MEM[(struct Rooted * *)cx_119(D) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Interpreter-inl.h: In function 'js::FetchName(JSContext*, JS::Handle, JS::Handle, JS::Handle, JS::Handle, JS::MutableHandle)bool': src/third_party/mozjs-45/extract/js/src/vm/Interpreter-inl.h:194:22: note: 'normalized' declared here 194 | RootedObject normalized(cx, obj); | ^~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Interpreter-inl.h:177:22: note: 'cx' declared here 177 | FetchName(JSContext* cx, HandleObject obj, HandleObject obj2, HandlePropertyName name, | ~~~~~~~~~~~^~ 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::FetchName(JSContext*, JS::Handle, JS::Handle, JS::Handle, JS::Handle, JS::MutableHandle)bool' at src/third_party/mozjs-45/extract/js/src/vm/Interpreter-inl.h:194:22: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'normalized' in 'MEM[(struct Rooted * *)cx_121(D) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Interpreter-inl.h: In function 'js::FetchName(JSContext*, JS::Handle, JS::Handle, JS::Handle, JS::Handle, JS::MutableHandle)bool': src/third_party/mozjs-45/extract/js/src/vm/Interpreter-inl.h:194:22: note: 'normalized' declared here 194 | RootedObject normalized(cx, obj); | ^~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Interpreter-inl.h:177:22: note: 'cx' declared here 177 | FetchName(JSContext* cx, HandleObject obj, HandleObject obj2, HandlePropertyName name, | ~~~~~~~~~~~^~ In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(js::ExclusiveContext* const&, JS::Value&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'GetExistingPropertyValue(js::ExclusiveContext*, JS::Handle, JS::Handle, JS::Handle, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/vm/NativeObject.cpp:1228:47: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'receiver' in 'MEM[(struct Rooted * *)cx_97(D) + 52B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.cpp: In function 'GetExistingPropertyValue(js::ExclusiveContext*, JS::Handle, JS::Handle, JS::Handle, JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.cpp:1228:17: note: 'receiver' declared here 1228 | RootedValue receiver(cx, ObjectValue(*obj)); | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.cpp:1215:44: note: 'cx' declared here 1215 | GetExistingPropertyValue(ExclusiveContext* cx, HandleNativeObject obj, HandleId id, | ~~~~~~~~~~~~~~~~~~^~ In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(js::ExclusiveContext* const&, js::ArrayObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::NativeDefineProperty(js::ExclusiveContext*, JS::Handle, JS::Handle, JS::Handle, JS::ObjectOpResult&)' at src/third_party/mozjs-45/extract/js/src/vm/NativeObject.cpp:1316:61: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'arr' in 'MEM[(struct Rooted * *)cx_431(D) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.cpp: In function 'js::NativeDefineProperty(js::ExclusiveContext*, JS::Handle, JS::Handle, JS::Handle, JS::ObjectOpResult&)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.cpp:1316:30: note: 'arr' declared here 1316 | Rooted arr(cx, &obj->as()); | ^~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.cpp:1300:44: note: 'cx' declared here 1300 | js::NativeDefineProperty(ExclusiveContext* cx, HandleNativeObject obj, HandleId id, | ~~~~~~~~~~~~~~~~~~^~ 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 'js::NativeDefineElement(js::ExclusiveContext*, JS::Handle, unsigned int, JS::Handle, bool (*)(JSContext*, JS::Handle, JS::Handle, JS::MutableHandle), bool (*)(JSContext*, JS::Handle, JS::Handle, JS::MutableHandle, JS::ObjectOpResult&), unsigned int, JS::ObjectOpResult&)' at src/third_party/mozjs-45/extract/js/src/vm/NativeObject.cpp:1560: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_66(D) + 48B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.cpp: In function 'js::NativeDefineElement(js::ExclusiveContext*, JS::Handle, unsigned int, JS::Handle, bool (*)(JSContext*, JS::Handle, JS::Handle, JS::MutableHandle), bool (*)(JSContext*, JS::Handle, JS::Handle, JS::MutableHandle, JS::ObjectOpResult&), unsigned int, JS::ObjectOpResult&)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.cpp:1560:14: note: 'id' declared here 1560 | RootedId id(cx); | ^~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.cpp:1556:43: note: 'cx' declared here 1556 | js::NativeDefineElement(ExclusiveContext* cx, HandleNativeObject obj, uint32_t index, | ~~~~~~~~~~~~~~~~~~^~ 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::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:2307:36: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'pobj' in 'MEM[(struct Rooted * *)cx_286(D) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.cpp: 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.cpp:2307:24: note: 'pobj' declared here 2307 | RootedNativeObject pobj(cx, obj); | ^~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.cpp:2292:34: note: 'cx' declared here 2292 | js::NativeSetProperty(JSContext* cx, HandleNativeObject obj, HandleId id, HandleValue value, | ~~~~~~~~~~~^~ 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::NativeSetElement(JSContext*, JS::Handle, unsigned int, JS::Handle, JS::Handle, JS::ObjectOpResult&)' at src/third_party/mozjs-45/extract/js/src/vm/NativeObject.cpp:2364: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_35(D) + 48B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.cpp: In function 'js::NativeSetElement(JSContext*, JS::Handle, unsigned int, JS::Handle, JS::Handle, JS::ObjectOpResult&)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.cpp:2364:14: note: 'id' declared here 2364 | RootedId id(cx); | ^~ src/third_party/mozjs-45/extract/js/src/vm/NativeObject.cpp:2361:33: note: 'cx' declared here 2361 | js::NativeSetElement(JSContext* cx, HandleNativeObject obj, uint32_t index, HandleValue v, | ~~~~~~~~~~~^~ 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) + 12B]' [-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/Interpreter-inl.h:234:34: note: 'cx' declared here 234 | SetIntrinsicOperation(JSContext* cx, JSScript* script, jsbytecode* pc, HandleValue val) | ~~~~~~~~~~~^~ 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::SpreadCallOperation(JSContext*, JS::Handle, unsigned char*, JS::Handle, JS::Handle, JS::Handle, JS::Handle, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/vm/Interpreter.cpp:4476:65: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'aobj' in 'MEM[(struct Rooted * *)cx_154(D) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Interpreter.cpp: In function 'js::SpreadCallOperation(JSContext*, JS::Handle, unsigned char*, JS::Handle, JS::Handle, JS::Handle, JS::Handle, JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/vm/Interpreter.cpp:4476:23: note: 'aobj' declared here 4476 | RootedArrayObject aobj(cx, &arr.toObject().as()); | ^~~~ src/third_party/mozjs-45/extract/js/src/vm/Interpreter.cpp:4473:36: note: 'cx' declared here 4473 | js::SpreadCallOperation(JSContext* cx, HandleScript script, jsbytecode* pc, HandleValue thisv, | ~~~~~~~~~~~^~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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/i386/linux/build -Isrc/third_party/mozjs-45/platform/i386/linux/build -Ibuild/fedora/third_party/mozjs-45/platform/i386/linux/include -Isrc/third_party/mozjs-45/platform/i386/linux/include src/third_party/mozjs-45/extract/js/src/jsmath.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/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 | ^~~~~~~~ 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)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 g++ -o build/fedora/third_party/mozjs-45/platform/i386/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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/i386/linux/build -Isrc/third_party/mozjs-45/platform/i386/linux/build -Ibuild/fedora/third_party/mozjs-45/platform/i386/linux/include -Isrc/third_party/mozjs-45/platform/i386/linux/include src/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src1.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/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/i386/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 | ^~~~~~~~ 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) + 12B]' [-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:1632:30: note: 'cx' declared here 1632 | js::InitMathClass(JSContext* cx, HandleObject obj) | ~~~~~~~~~~~^~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/third_party/mozjs-45/extract/js/src/builtin/AtomicsObject.cpp:64, from src/third_party/mozjs-45/platform/i386/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/x86/MacroAssembler-x86.h:12, from src/third_party/mozjs-45/extract/js/src/jit/MacroAssembler.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/asmjs/WasmStubs.cpp:24, from src/third_party/mozjs-45/platform/i386/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/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 = 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/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::MapObject::size_impl(JSContext*, JS::CallArgs const&)' at src/third_party/mozjs-45/extract/js/src/builtin/MapObject.cpp:594: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_38(D) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src1.cpp:47: src/third_party/mozjs-45/extract/js/src/builtin/MapObject.cpp: In function 'js::MapObject::size_impl(JSContext*, JS::CallArgs const&)': src/third_party/mozjs-45/extract/js/src/builtin/MapObject.cpp:594:18: note: 'obj' declared here 594 | RootedObject obj(cx, &args.thisv().toObject()); | ^~~ src/third_party/mozjs-45/extract/js/src/builtin/MapObject.cpp:592:33: note: 'cx' declared here 592 | MapObject::size_impl(JSContext* cx, const CallArgs& args) | ~~~~~~~~~~~^~ 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 'GetTypedArrayIndex(JSContext*, JS::Handle, JS::Handle, unsigned int*)' at src/third_party/mozjs-45/extract/js/src/builtin/AtomicsObject.cpp:104: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_45(D) + 48B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/AtomicsObject.cpp: In function 'GetTypedArrayIndex(JSContext*, JS::Handle, JS::Handle, unsigned int*)': src/third_party/mozjs-45/extract/js/src/builtin/AtomicsObject.cpp:104:14: note: 'id' declared here 104 | RootedId id(cx); | ^~ src/third_party/mozjs-45/extract/js/src/builtin/AtomicsObject.cpp:102:31: note: 'cx' declared here 102 | GetTypedArrayIndex(JSContext* cx, HandleValue v, Handle view, uint32_t* offset) | ~~~~~~~~~~~^~ 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 .isra.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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 .isra.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:281:22: note: 'cx' declared here 281 | InitClass(JSContext* cx, Handle global, const Class* clasp, JSProtoKey key, Native construct, | ~~~~~~~~~~~^~ In file included from src/third_party/mozjs-45/extract/js/src/builtin/Eval.cpp:17, from src/third_party/mozjs-45/platform/i386/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.425944].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.425595].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)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 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) + 12B]' [-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:450:46: note: 'cx' declared here 450 | js::ExecuteInGlobalAndReturnScope(JSContext* cx, HandleObject global, HandleScript scriptArg, | ~~~~~~~~~~~^~ 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_118(D) + 12B]' [-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:302:33: note: 'cx' declared here 302 | MapObject::initClass(JSContext* cx, JSObject* obj) | ~~~~~~~~~~~^~ 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_130(D) + 12B]' [-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:1030:33: note: 'cx' declared here 1030 | SetObject::initClass(JSContext* cx, JSObject* obj) | ~~~~~~~~~~~^~ 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::SetObject::has_impl(JSContext*, JS::CallArgs const&)' at src/third_party/mozjs-45/extract/js/src/builtin/MapObject.cpp:1256:5: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'key' in 'MEM[(struct Rooted * *)cx_96(D) + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/MapObject.cpp: In function 'js::SetObject::has_impl(JSContext*, JS::CallArgs const&)': src/third_party/mozjs-45/extract/js/src/builtin/MapObject.cpp:1256:24: note: 'key' declared here 1256 | ARG0_KEY(cx, args, key); | ^~~ src/third_party/mozjs-45/extract/js/src/builtin/MapObject.cpp:1251:32: note: 'cx' declared here 1251 | SetObject::has_impl(JSContext* cx, const CallArgs& args) | ~~~~~~~~~~~^~ 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/client/async_client.cpp 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::clear_impl(JSContext*, JS::CallArgs const&)' at src/third_party/mozjs-45/extract/js/src/builtin/MapObject.cpp:1410:75: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'setobj' in 'MEM[(struct Rooted * *)cx_42(D) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/MapObject.cpp: In function 'js::SetObject::clear_impl(JSContext*, JS::CallArgs const&)': src/third_party/mozjs-45/extract/js/src/builtin/MapObject.cpp:1410:24: note: 'setobj' declared here 1410 | Rooted setobj(cx, &args.thisv().toObject().as()); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/MapObject.cpp:1408:34: note: 'cx' declared here 1408 | SetObject::clear_impl(JSContext *cx, const CallArgs& args) | ~~~~~~~~~~~^~ 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_90(D) + 12B]' [-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:1447:42: note: 'cx' declared here 1447 | forEach(const char* funcName, JSContext *cx, HandleObject obj, HandleValue callbackFn, HandleValue thisArg) | ~~~~~~~~~~~^~ 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_650(D) + 12B]' [-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:1126:33: note: 'cx' declared here 1126 | SetObject::construct(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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::SetObject::delete_impl(JSContext*, JS::CallArgs const&)' at src/third_party/mozjs-45/extract/js/src/builtin/MapObject.cpp:1330:5: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'key' in 'MEM[(struct Rooted * *)cx_163(D) + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/MapObject.cpp: In function 'js::SetObject::delete_impl(JSContext*, JS::CallArgs const&)': src/third_party/mozjs-45/extract/js/src/builtin/MapObject.cpp:1330:24: note: 'key' declared here 1330 | ARG0_KEY(cx, args, key); | ^~~ src/third_party/mozjs-45/extract/js/src/builtin/MapObject.cpp:1325:35: note: 'cx' declared here 1325 | SetObject::delete_impl(JSContext *cx, const CallArgs& args) | ~~~~~~~~~~~^~ 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_927(D) + 12B]' [-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:461:33: note: 'cx' declared here 461 | MapObject::construct(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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_98(D) + 12B]' [-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:1223:37: note: 'cx' declared here 1223 | AtomicsObject::initClass(JSContext* cx, Handle global) | ~~~~~~~~~~~^~ 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_397(D) + 28B]' [-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:227:23: note: 'cx' declared here 227 | EvalKernel(JSContext* cx, const CallArgs& args, EvalType evalType, AbstractFramePtr caller, | ~~~~~~~~~~~^~ 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_CompareStrings(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/builtin/Intl.cpp:1037: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_121(D) + 52B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src1.cpp:38: src/third_party/mozjs-45/extract/js/src/builtin/Intl.cpp: In function 'js::intl_CompareStrings(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/builtin/Intl.cpp:1037:17: note: 'result' declared here 1037 | RootedValue result(cx); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/Intl.cpp:1001:36: note: 'cx' declared here 1001 | js::intl_CompareStrings(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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_85(D) + 52B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:1473:34: note: 'cx' declared here 1473 | js::intl_FormatNumber(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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_FormatDateTime(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/builtin/Intl.cpp:2026: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_85(D) + 52B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/Intl.cpp: In function 'js::intl_FormatDateTime(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/builtin/Intl.cpp:2026:17: note: 'result' declared here 2026 | RootedValue result(cx); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/Intl.cpp:1993:36: note: 'cx' declared here 1993 | js::intl_FormatDateTime(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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_325(D) + 28B]' [-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:336:40: note: 'cx' declared here 336 | js::DirectEvalStringFromIon(JSContext* cx, | ~~~~~~~~~~~^~ 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) + 12B]' [-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:739:44: note: 'cx' declared here 739 | GlobalObject::initCollatorProto(JSContext* cx, Handle global) | ~~~~~~~~~~~^~ 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) + 12B]' [-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:1710:50: note: 'cx' declared here 1710 | GlobalObject::initDateTimeFormatProto(JSContext* cx, Handle global) | ~~~~~~~~~~~^~ 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) + 12B]' [-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:1241:48: note: 'cx' declared here 1241 | GlobalObject::initNumberFormatProto(JSContext* cx, Handle global) | ~~~~~~~~~~~^~ 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_119(D) + 12B]' [-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:2067:30: note: 'cx' declared here 2067 | js::InitIntlClass(JSContext* cx, HandleObject obj) | ~~~~~~~~~~~^~ 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_125(D) + 12B]' [-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:939:41: note: 'cx' declared here 939 | SetIteratorObject::next_impl(JSContext* cx, const CallArgs& args) | ~~~~~~~~~~~^~ 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_64(D) + 12B]' [-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:888:47: note: 'cx' declared here 888 | GlobalObject::initSetIteratorProto(JSContext* cx, Handle global) | ~~~~~~~~~~~^~ 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_101(D) + 12B]' [-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:903:38: note: 'cx' declared here 903 | SetIteratorObject::create(JSContext* cx, HandleObject setobj, ValueSet* data, | ~~~~~~~~~~~^~ 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_56(D) + 12B]' [-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:1358:37: note: 'cx' declared here 1358 | SetObject::iterator_impl(JSContext *cx, const CallArgs& args, IteratorKind kind) | ~~~~~~~~~~~^~ 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_64(D) + 12B]' [-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:162:47: note: 'cx' declared here 162 | GlobalObject::initMapIteratorProto(JSContext* cx, Handle global) | ~~~~~~~~~~~^~ 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_101(D) + 12B]' [-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:177:38: note: 'cx' declared here 177 | MapIteratorObject::create(JSContext* cx, HandleObject mapobj, ValueMap* data, | ~~~~~~~~~~~^~ 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 'Collator(JSContext*, JS::CallArgs const&, bool)' at src/third_party/mozjs-45/extract/js/src/builtin/Intl.cpp:605:24: 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) + 12B]' [-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:605:18: note: 'obj' declared here 605 | RootedObject obj(cx); | ^~~ src/third_party/mozjs-45/extract/js/src/builtin/Intl.cpp:603:21: note: 'cx' declared here 603 | Collator(JSContext* cx, const CallArgs& args, bool construct) | ~~~~~~~~~~~^~ 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 'DateTimeFormat(JSContext*, JS::CallArgs const&, bool)' at src/third_party/mozjs-45/extract/js/src/builtin/Intl.cpp:1568:24: 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) + 12B]' [-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:1568:18: note: 'obj' declared here 1568 | RootedObject obj(cx); | ^~~ src/third_party/mozjs-45/extract/js/src/builtin/Intl.cpp:1566:27: note: 'cx' declared here 1566 | DateTimeFormat(JSContext* cx, const CallArgs& args, bool construct) | ~~~~~~~~~~~^~ 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 'NumberFormat(JSContext*, JS::CallArgs const&, bool)' at src/third_party/mozjs-45/extract/js/src/builtin/Intl.cpp:1099:24: 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) + 12B]' [-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:1099:18: note: 'obj' declared here 1099 | RootedObject obj(cx); | ^~~ src/third_party/mozjs-45/extract/js/src/builtin/Intl.cpp:1097:25: note: 'cx' declared here 1097 | NumberFormat(JSContext* cx, const CallArgs& args, bool construct) | ~~~~~~~~~~~^~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from 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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [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_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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_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 src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move 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 { | ^~~~~ 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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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/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 { | ^~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from 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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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++/13/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:731:14, inlined from 'mongo::BSONObjBuilder::append(mongo::StringData, std::vector > const&)mongo::BSONObjBuilder& [clone .isra.0]' at src/mongo/bson/bsonobjbuilder.h:970: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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/util/mongoutils/str.h:43, from 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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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_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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/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, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/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::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::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: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from 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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move 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/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/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-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 In file included from src/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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, 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::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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, 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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return 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, 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::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return 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, long 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move 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::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/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return 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::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/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from 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 { | ^~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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 { | ^~~~~ In file included from src/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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/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 { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::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_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return 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 = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [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::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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++/13/bits/stl_pair.h:194: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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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: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/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from 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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__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::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::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::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move 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/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, 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::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ 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 src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call Skipping ranlib for thin archive build/fedora/mongo/db/libquery_exec.a src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() 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/i386/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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/i386/linux/build -Isrc/third_party/mozjs-45/platform/i386/linux/build -Ibuild/fedora/third_party/mozjs-45/platform/i386/linux/include -Isrc/third_party/mozjs-45/platform/i386/linux/include src/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src24.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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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/jsnum.cpp:25, from src/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src24.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/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 | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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)); | ~~~~~~^~~~~~~~~~~~~~~~~~ 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/i386/linux/build/Unified_cpp_js_src24.cpp:20: 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/i386/linux/build/Unified_cpp_js_src24.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 | ^~~~~~~~~~~~~~~~ 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 | ^~~~~~~~~~~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted&>(JSContext* const&, JS::MutableHandle&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'JSCompartment::wrap(JSContext*, JS::MutableHandle, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/jscompartmentinlines.h:106:29: 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) + 52B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jscompartmentinlines.h: In member function 'JSCompartment::wrap(JSContext*, JS::MutableHandle, JS::Handle)': src/third_party/mozjs-45/extract/js/src/jscompartmentinlines.h:106:21: note: 'v' declared here 106 | JS::RootedValue v(cx, vp); | ^ src/third_party/mozjs-45/extract/js/src/jscompartmentinlines.h:57:32: note: 'cx' declared here 57 | JSCompartment::wrap(JSContext* cx, JS::MutableHandleValue vp, JS::HandleObject existing) | ~~~~~~~~~~~^~ 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 'JSObject::nonNativeSetElement(JSContext*, JS::Handle, unsigned int, JS::Handle, JS::Handle, JS::ObjectOpResult&)' at src/third_party/mozjs-45/extract/js/src/jsobj.cpp:1054: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_35(D) + 48B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsobj.cpp: In function 'JSObject::nonNativeSetElement(JSContext*, JS::Handle, unsigned int, JS::Handle, JS::Handle, JS::ObjectOpResult&)': src/third_party/mozjs-45/extract/js/src/jsobj.cpp:1054:14: note: 'id' declared here 1054 | RootedId id(cx); | ^~ src/third_party/mozjs-45/extract/js/src/jsobj.cpp:1051:42: note: 'cx' declared here 1051 | JSObject::nonNativeSetElement(JSContext* cx, HandleObject obj, uint32_t index, HandleValue v, | ~~~~~~~~~~~^~ 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 'js::GetBuiltinConstructor(js::ExclusiveContext*, JSProtoKey, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/jsobj.cpp:2013:50: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'global' in 'MEM[(struct Rooted * *)cx_38(D) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsobj.cpp: In function 'js::GetBuiltinConstructor(js::ExclusiveContext*, JSProtoKey, JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/jsobj.cpp:2013:27: note: 'global' declared here 2013 | Rooted global(cx, cx->global()); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/jsobj.cpp:2010:45: note: 'cx' declared here 2010 | js::GetBuiltinConstructor(ExclusiveContext* cx, JSProtoKey key, MutableHandleObject objp) | ~~~~~~~~~~~~~~~~~~^~ 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 'js::GetBuiltinPrototype(js::ExclusiveContext*, JSProtoKey, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/jsobj.cpp:2025:50: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'global' in 'MEM[(struct Rooted * *)cx_38(D) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsobj.cpp: In function 'js::GetBuiltinPrototype(js::ExclusiveContext*, JSProtoKey, JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/jsobj.cpp:2025:27: note: 'global' declared here 2025 | Rooted global(cx, cx->global()); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/jsobj.cpp:2022:43: note: 'cx' declared here 2022 | js::GetBuiltinPrototype(ExclusiveContext* cx, JSProtoKey key, MutableHandleObject protop) | ~~~~~~~~~~~~~~~~~~^~ 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_11(D) + 12B]' [-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/jsobj.cpp:2140:31: note: 'cx' declared here 2140 | js::LookupProperty(JSContext* cx, HandleObject obj, js::HandleId id, | ~~~~~~~~~~~^~ 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) + 12B]' [-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:2153:27: note: 'cx' declared here 2153 | js::LookupName(JSContext* cx, HandlePropertyName name, HandleObject scopeChain, | ~~~~~~~~~~~^~ 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::LookupNameWithGlobalDefault(JSContext*, JS::Handle, JS::Handle, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/jsobj.cpp:2204:38: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'scope' in 'MEM[(struct Rooted * *)cx_105(D) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsobj.cpp: In function 'js::LookupNameWithGlobalDefault(JSContext*, JS::Handle, JS::Handle, JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/jsobj.cpp:2204:18: note: 'scope' declared here 2204 | RootedObject scope(cx, scopeChain); | ^~~~~ src/third_party/mozjs-45/extract/js/src/jsobj.cpp:2196:44: note: 'cx' declared here 2196 | js::LookupNameWithGlobalDefault(JSContext* cx, HandlePropertyName name, HandleObject scopeChain, | ~~~~~~~~~~~^~ 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::SetPrototype(JSContext*, JS::Handle, JS::Handle, JS::ObjectOpResult&)' at src/third_party/mozjs-45/extract/js/src/jsobj.cpp:2493:25: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj2' in 'MEM[(struct Rooted * *)cx_149(D) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsobj.cpp: In function 'js::SetPrototype(JSContext*, JS::Handle, JS::Handle, JS::ObjectOpResult&)': src/third_party/mozjs-45/extract/js/src/jsobj.cpp:2493:18: note: 'obj2' declared here 2493 | RootedObject obj2(cx); | ^~~~ src/third_party/mozjs-45/extract/js/src/jsobj.cpp:2417:29: note: 'cx' declared here 2417 | js::SetPrototype(JSContext* cx, HandleObject obj, HandleObject proto, JS::ObjectOpResult& result) | ~~~~~~~~~~~^~ 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::TestIntegrityLevel(JSContext*, JS::Handle, js::IntegrityLevel, bool*)' at src/third_party/mozjs-45/extract/js/src/jsobj.cpp:602:39: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'desc' in 'MEM[(struct Rooted * *)cx_96(D) + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsobj.cpp: In function 'js::TestIntegrityLevel(JSContext*, JS::Handle, js::IntegrityLevel, bool*)': src/third_party/mozjs-45/extract/js/src/jsobj.cpp:602:32: note: 'desc' declared here 602 | Rooted desc(cx); | ^~~~ src/third_party/mozjs-45/extract/js/src/jsobj.cpp:584:35: note: 'cx' declared here 584 | js::TestIntegrityLevel(JSContext* cx, HandleObject obj, IntegrityLevel level, bool* result) | ~~~~~~~~~~~^~ 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 'js::DefineProperty(js::ExclusiveContext*, JS::Handle, JS::Handle, JS::Handle, bool (*)(JSContext*, JS::Handle, JS::Handle, JS::MutableHandle), bool (*)(JSContext*, JS::Handle, JS::Handle, JS::MutableHandle, JS::ObjectOpResult&), unsigned int, JS::ObjectOpResult&)' at src/third_party/mozjs-45/extract/js/src/jsobj.cpp:2653:39: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'desc' in 'MEM[(struct Rooted * *)cx_55(D) + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsobj.cpp: In function 'js::DefineProperty(js::ExclusiveContext*, JS::Handle, JS::Handle, JS::Handle, bool (*)(JSContext*, JS::Handle, JS::Handle, JS::MutableHandle), bool (*)(JSContext*, JS::Handle, JS::Handle, JS::MutableHandle, JS::ObjectOpResult&), unsigned int, JS::ObjectOpResult&)': src/third_party/mozjs-45/extract/js/src/jsobj.cpp:2653:32: note: 'desc' declared here 2653 | Rooted desc(cx); | ^~~~ src/third_party/mozjs-45/extract/js/src/jsobj.cpp:2647:38: note: 'cx' declared here 2647 | js::DefineProperty(ExclusiveContext* cx, HandleObject obj, HandleId id, HandleValue value, | ~~~~~~~~~~~~~~~~~~^~ 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 'js::DefineElement(js::ExclusiveContext*, JS::Handle, unsigned int, JS::Handle, bool (*)(JSContext*, JS::Handle, JS::Handle, JS::MutableHandle), bool (*)(JSContext*, JS::Handle, JS::Handle, JS::MutableHandle, JS::ObjectOpResult&), unsigned int, JS::ObjectOpResult&)' at src/third_party/mozjs-45/extract/js/src/jsobj.cpp:2680: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_38(D) + 48B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsobj.cpp: In function 'js::DefineElement(js::ExclusiveContext*, JS::Handle, unsigned int, JS::Handle, bool (*)(JSContext*, JS::Handle, JS::Handle, JS::MutableHandle), bool (*)(JSContext*, JS::Handle, JS::Handle, JS::MutableHandle, JS::ObjectOpResult&), unsigned int, JS::ObjectOpResult&)': src/third_party/mozjs-45/extract/js/src/jsobj.cpp:2680:14: note: 'id' declared here 2680 | RootedId id(cx); | ^~ src/third_party/mozjs-45/extract/js/src/jsobj.cpp:2673:37: note: 'cx' declared here 2673 | js::DefineElement(ExclusiveContext* cx, HandleObject obj, uint32_t index, HandleValue value, | ~~~~~~~~~~~~~~~~~~^~ 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 'js::DefineElement(js::ExclusiveContext*, JS::Handle, unsigned int, JS::Handle, bool (*)(JSContext*, JS::Handle, JS::Handle, JS::MutableHandle), bool (*)(JSContext*, JS::Handle, JS::Handle, JS::MutableHandle, JS::ObjectOpResult&), unsigned int)' at src/third_party/mozjs-45/extract/js/src/jsobj.cpp:2717: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_37(D) + 48B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsobj.cpp: In function 'js::DefineElement(js::ExclusiveContext*, JS::Handle, unsigned int, JS::Handle, bool (*)(JSContext*, JS::Handle, JS::Handle, JS::MutableHandle), bool (*)(JSContext*, JS::Handle, JS::Handle, JS::MutableHandle, JS::ObjectOpResult&), unsigned int)': src/third_party/mozjs-45/extract/js/src/jsobj.cpp:2717:14: note: 'id' declared here 2717 | RootedId id(cx); | ^~ src/third_party/mozjs-45/extract/js/src/jsobj.cpp:2711:37: note: 'cx' declared here 2711 | js::DefineElement(ExclusiveContext* cx, HandleObject obj, uint32_t index, HandleValue value, | ~~~~~~~~~~~~~~~~~~^~ 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::GetPropertyDescriptor(JSContext*, JS::Handle, JS::Handle, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/jsobj.cpp:2745:25: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'pobj' in 'MEM[(struct Rooted * *)cx_56(D) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsobj.cpp: In function 'js::GetPropertyDescriptor(JSContext*, JS::Handle, JS::Handle, JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/jsobj.cpp:2745:18: note: 'pobj' declared here 2745 | RootedObject pobj(cx); | ^~~~ src/third_party/mozjs-45/extract/js/src/jsobj.cpp:2742:38: note: 'cx' declared here 2742 | js::GetPropertyDescriptor(JSContext* cx, HandleObject obj, HandleId id, | ~~~~~~~~~~~^~ 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) + 12B]' [-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:2797:28: note: 'cx' declared here 2797 | js::UnwatchGuts(JSContext* cx, JS::HandleObject origObj, JS::HandleId id) | ~~~~~~~~~~~^~ 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::IsDelegateOfObject(JSContext*, JS::Handle, JSObject*, bool*)' at src/third_party/mozjs-45/extract/js/src/jsobj.cpp:3042:30: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj2' in 'MEM[(struct Rooted * *)cx_39(D) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsobj.cpp: In function 'js::IsDelegateOfObject(JSContext*, JS::Handle, JSObject*, bool*)': src/third_party/mozjs-45/extract/js/src/jsobj.cpp:3042:18: note: 'obj2' declared here 3042 | RootedObject obj2(cx, obj); | ^~~~ src/third_party/mozjs-45/extract/js/src/jsobj.cpp:3040:35: note: 'cx' declared here 3040 | js::IsDelegateOfObject(JSContext* cx, HandleObject protoObj, JSObject* obj, bool* result) | ~~~~~~~~~~~^~ 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::DumpCompartmentPCCounts(JSContext*)' at src/third_party/mozjs-45/extract/js/src/jsopcode.cpp:202:50: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'script' in 'MEM[(struct Rooted * *)cx_80(D) + 40B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsopcode.cpp: In function 'js::DumpCompartmentPCCounts(JSContext*)': src/third_party/mozjs-45/extract/js/src/jsopcode.cpp:202:22: note: 'script' declared here 202 | RootedScript script(cx, i.get()); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/jsopcode.cpp:199:40: note: 'cx' declared here 199 | js::DumpCompartmentPCCounts(JSContext* cx) | ~~~~~~~~~~~^~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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) + 16B]' [-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:646:29: note: 'cx' declared here 646 | NewObject(ExclusiveContext* cx, HandleObjectGroup group, gc::AllocKind kind, | ~~~~~~~~~~~~~~~~~~^~ 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_89(D) + 24B]' [-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:704:53: note: 'cxArg' declared here 704 | js::NewObjectWithGivenTaggedProto(ExclusiveContext* cxArg, const Class* clasp, | ~~~~~~~~~~~~~~~~~~^~~~~ 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 'CopyProxyObject(JSContext*, JS::Handle, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/jsobj.cpp:1125:21, inlined from 'js::CloneObject(JSContext*, JS::Handle, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/jsobj.cpp:1167:29: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'v' in 'MEM[(struct Rooted * *)cx_87(D) + 52B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsobj.cpp: In function 'js::CloneObject(JSContext*, JS::Handle, JS::Handle)': src/third_party/mozjs-45/extract/js/src/jsobj.cpp:1125:17: note: 'v' declared here 1125 | RootedValue v(cx); | ^ src/third_party/mozjs-45/extract/js/src/jsobj.cpp:1137:28: note: 'cx' declared here 1137 | js::CloneObject(JSContext* cx, HandleObject obj, Handle proto) | ~~~~~~~~~~~^~ 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_132(D) + 24B]' [-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:752:53: note: 'cxArg' declared here 752 | js::NewObjectWithClassProtoCommon(ExclusiveContext* cxArg, const Class* clasp, | ~~~~~~~~~~~~~~~~~~^~~~~ 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_68(D) + 12B]' [-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:861:38: note: 'cx' declared here 861 | js::NewObjectScriptedCall(JSContext* cx, MutableHandleObject pobj) | ~~~~~~~~~~~^~ 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_161(D) + 12B]' [-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:125:47: note: 'cx' declared here 125 | js::FromPropertyDescriptorToObject(JSContext* cx, Handle desc, | ~~~~~~~~~~~^~ 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_115(D) + 24B]' [-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:952:47: note: 'cx' declared here 952 | js::CreateThisForFunctionWithProto(JSContext* cx, HandleObject callee, HandleObject newTarget, | ~~~~~~~~~~~^~ 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 'Walk(JSContext*, JS::Handle, JS::Handle, JS::Handle, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/json.cpp:732:38: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'newElement' in 'MEM[(struct Rooted * *)cx_494(D) + 52B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src24.cpp:29: 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:732:25: note: 'newElement' declared here 732 | RootedValue newElement(cx); | ^~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/json.cpp:707:17: note: 'cx' declared here 707 | Walk(JSContext* cx, HandleObject holder, HandleId name, HandleValue reviver, MutableHandleValue vp) | ~~~~~~~~~~~^~ 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) + 12B]' [-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:806:19: note: 'cx' declared here 806 | Revive(JSContext* cx, HandleValue reviver, MutableHandleValue vp) | ~~~~~~~~~~~^~ 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.371544].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.371887].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::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(js::ExclusiveContext* const&, JS::Value&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::ToNumberSlow(js::ExclusiveContext*, JS::Value, double*)' at src/third_party/mozjs-45/extract/js/src/jsnum.cpp:1539:29: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'v2' in 'MEM[(struct Rooted * *)cx_65(D) + 52B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsnum.cpp: In function 'js::ToNumberSlow(js::ExclusiveContext*, JS::Value, double*)': src/third_party/mozjs-45/extract/js/src/jsnum.cpp:1539:21: note: 'v2' declared here 1539 | RootedValue v2(cx, v); | ^~ src/third_party/mozjs-45/extract/js/src/jsnum.cpp:1501:36: note: 'cx' declared here 1501 | js::ToNumberSlow(ExclusiveContext* cx, Value v, double* out) | ~~~~~~~~~~~~~~~~~~^~ 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_103(D) + 28B]' [-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:371:29: note: 'cx' declared here 371 | js::num_parseInt(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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, unsigned int, 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_262(D) + 28B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/json.cpp: In function 'PreprocessValue(JSContext*, JS::Handle, unsigned int, 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:213:28: note: 'cx' declared here 213 | PreprocessValue(JSContext* cx, HandleObject holder, KeyType key, MutableHandleValue vp, StringifyContext* scx) | ~~~~~~~~~~~^~ 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_259(D) + 28B]' [-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:213:28: note: 'cx' declared here 213 | PreprocessValue(JSContext* cx, HandleObject holder, KeyType key, MutableHandleValue vp, StringifyContext* scx) | ~~~~~~~~~~~^~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/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 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::GetElement(JSContext*, JS::Handle, JS::Handle, unsigned int, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:188:19, inlined from 'js::GetElement(JSContext*, JS::Handle, JS::Handle, unsigned int, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:199:22, inlined from 'js::Stringify(JSContext*, JS::MutableHandle, JSObject*, JS::Value, js::StringBuffer&)' at src/third_party/mozjs-45/extract/js/src/json.cpp:592:32: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'id' in 'MEM[(struct Rooted * *)cx_447(D) + 48B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsobjinlines.h: In function 'js::Stringify(JSContext*, JS::MutableHandle, JSObject*, JS::Value, js::StringBuffer&)': src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:188:14: note: 'id' declared here 188 | RootedId id(cx); | ^~ src/third_party/mozjs-45/extract/js/src/json.cpp:551:26: note: 'cx' declared here 551 | js::Stringify(JSContext* cx, MutableHandleValue vp, JSObject* replacer_, Value space_, | ~~~~~~~~~~~^~ In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move 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::Shape*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::SetIntegrityLevel(JSContext*, JS::Handle, js::IntegrityLevel)' at src/third_party/mozjs-45/extract/js/src/jsobj.cpp:502:97: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'last' in 'MEM[(struct Rooted * *)cx_316(D) + 16B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsobj.cpp: In function 'js::SetIntegrityLevel(JSContext*, JS::Handle, js::IntegrityLevel)': src/third_party/mozjs-45/extract/js/src/jsobj.cpp:499:21: note: 'last' declared here 499 | RootedShape last(cx, EmptyShape::getInitialShape(cx, nobj->getClass(), | ^~~~ src/third_party/mozjs-45/extract/js/src/jsobj.cpp:473:34: note: 'cx' declared here 473 | js::SetIntegrityLevel(JSContext* cx, HandleObject obj, IntegrityLevel level) | ~~~~~~~~~~~^~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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 '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_324(D) + 12B]' [-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:1129:32: note: 'cx' declared here 1129 | js::InitNumberClass(JSContext* cx, HandleObject obj) | ~~~~~~~~~~~^~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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::StringObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::StringObject::init(JSContext*, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/vm/StringObject-inl.h:23:40, 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 'self' in 'MEM[(struct Rooted * *)cx_27(D) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsobj.cpp:70: src/third_party/mozjs-45/extract/js/src/vm/StringObject-inl.h: In function 'js::StringObject::create(JSContext*, JS::Handle, JS::Handle, js::NewObjectKind)': src/third_party/mozjs-45/extract/js/src/vm/StringObject-inl.h:23:27: note: 'self' declared here 23 | Rooted self(cx, this); | ^~~~ src/third_party/mozjs-45/extract/js/src/vm/StringObject-inl.h:36:33: note: 'cx' declared here 36 | StringObject::create(JSContext* cx, HandleString str, HandleObject proto, NewObjectKind newKind) | ~~~~~~~~~~~^~ In member function 'JS::Rooted > >::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted > >::Rooted > >(JSContext* const&, js::TraceableVector >&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'InitializePropertiesFromCompatibleNativeObject(JSContext*, JS::Handle, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/jsobj.cpp:1352:55, inlined from 'JS_InitializePropertiesFromCompatibleNativeObject(JSContext*, JS::Handle, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/jsobj.cpp:1380:58: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'shapes' in 'MEM[(struct Rooted * *)cx_2(D) + 56B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsobj.cpp: In function 'JS_InitializePropertiesFromCompatibleNativeObject(JSContext*, JS::Handle, JS::Handle)': src/third_party/mozjs-45/extract/js/src/jsobj.cpp:1352:29: note: 'shapes' declared here 1352 | Rooted shapes(cx, ShapeVector(cx)); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/jsobj.cpp:1376:62: note: 'cx' declared here 1376 | JS_InitializePropertiesFromCompatibleNativeObject(JSContext* cx, | ~~~~~~~~~~~^~ 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) + 12B]' [-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:921:30: note: 'cx' declared here 921 | js::InitJSONClass(JSContext* cx, HandleObject obj) | ~~~~~~~~~~~^~ 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) + 28B]' [-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:1849:26: note: 'cx' declared here 1849 | js::InitClass(JSContext* cx, HandleObject obj, HandleObject protoProto_, | ~~~~~~~~~~~^~ 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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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 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 'DecompileArgumentFromStack(JSContext*, int, char**)' at src/third_party/mozjs-45/extract/js/src/jsopcode.cpp:1472:37: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'fun' in 'MEM[(struct Rooted * *)cx_152(D) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsopcode.cpp: In function 'DecompileArgumentFromStack(JSContext*, int, char**)': src/third_party/mozjs-45/extract/js/src/jsopcode.cpp:1470:20: note: 'fun' declared here 1470 | RootedFunction fun(cx, frameIter.isFunctionFrame() | ^~~ src/third_party/mozjs-45/extract/js/src/jsopcode.cpp:1441:39: note: 'cx' declared here 1441 | DecompileArgumentFromStack(JSContext* cx, int formalIndex, char** res) | ~~~~~~~~~~~^~ 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 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) + 28B]' [-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:1502:34: note: 'cx' declared here 1502 | js::DecompileArgument(JSContext* cx, int formalIndex, HandleValue v) | ~~~~~~~~~~~^~ 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 'DecompileExpressionFromStack(JSContext*, int, int, JS::Handle, char**)' at src/third_party/mozjs-45/extract/js/src/jsopcode.cpp:1390:37: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'fun' in 'MEM[(struct Rooted * *)cx_111(D) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsopcode.cpp: In function 'DecompileExpressionFromStack(JSContext*, int, int, JS::Handle, char**)': src/third_party/mozjs-45/extract/js/src/jsopcode.cpp:1388:20: note: 'fun' declared here 1388 | RootedFunction fun(cx, frameIter.isFunctionFrame() | ^~~ src/third_party/mozjs-45/extract/js/src/jsopcode.cpp:1363:41: note: 'cx' declared here 1363 | DecompileExpressionFromStack(JSContext* cx, int spindex, int skipStackHits, HandleValue v, char** res) | ~~~~~~~~~~~^~ 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_295(D) + 12B]' [-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:272:37: note: 'cx' declared here 272 | js::ToPropertyDescriptor(JSContext* cx, HandleValue descval, bool checkAccessors, | ~~~~~~~~~~~^~ 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_115(D) + 48B]' [-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:422:40: note: 'cx' declared here 422 | js::ReadPropertyDescriptors(JSContext* cx, HandleObject props, bool checkAccessors, | ~~~~~~~~~~~^~ 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 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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from 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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 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 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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move 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/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/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move 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: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move 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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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, 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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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, long 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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::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: 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 = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_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, 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++/13/bits/stl_pair.h:194: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::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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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_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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from /usr/include/string.h:535, from /usr/include/c++/13/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:731:14, inlined from 'mongo::BSONObjBuilder::append(mongo::StringData, std::vector > const&)mongo::BSONObjBuilder&' at src/mongo/bson/bsonobjbuilder.h:970: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)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 { | ^~~~~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/shell/linenoise_utf8.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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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/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/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from 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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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/i386/linux/include -Ibuild/fedora -Isrc src/mongo/scripting/mozjs/dbref.cpp g++ -o build/fedora/third_party/mozjs-45/platform/i386/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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/i386/linux/build -Isrc/third_party/mozjs-45/platform/i386/linux/build -Ibuild/fedora/third_party/mozjs-45/platform/i386/linux/include -Isrc/third_party/mozjs-45/platform/i386/linux/include src/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src5.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/i386/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 | ^~~~~~~~ ar rcsTD build/fedora/mongo/db/auth/librole_graph_update.a build/fedora/mongo/db/auth/role_graph_update.o Skipping ranlib for thin archive build/fedora/mongo/db/auth/librole_graph_update.a 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/third_party/mozjs-45/extract/js/src/gc/Allocator.cpp:18, from src/third_party/mozjs-45/platform/i386/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)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 | ^~~~~~~~~~~~~~ g++ -o build/fedora/third_party/mozjs-45/platform/i386/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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/i386/linux/build -Isrc/third_party/mozjs-45/platform/i386/linux/build -Ibuild/fedora/third_party/mozjs-45/platform/i386/linux/include -Isrc/third_party/mozjs-45/platform/i386/linux/include src/third_party/mozjs-45/platform/i386/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/i386/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 | ^~~~~~~~ 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 | ^~~~~~~~ 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 = 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/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++/13/bits/stl_pair.h:194: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 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::SettleOnTryNote(JSContext*, JSTryNote*, js::jit::JitFrameIterator const&, js::ScopeIter&, js::jit::ResumeFromException*, unsigned char**)' at src/third_party/mozjs-45/extract/js/src/jit/JitFrames.cpp:553:60: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'script' in 'MEM[(struct Rooted * *)cx_44(D) + 40B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src13.cpp:29: src/third_party/mozjs-45/extract/js/src/jit/JitFrames.cpp: In function 'js::jit::SettleOnTryNote(JSContext*, JSTryNote*, js::jit::JitFrameIterator const&, js::ScopeIter&, js::jit::ResumeFromException*, unsigned char**)': src/third_party/mozjs-45/extract/js/src/jit/JitFrames.cpp:553:18: note: 'script' declared here 553 | RootedScript script(cx, frame.baselineFrame()->script()); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/jit/JitFrames.cpp:550:28: note: 'cx' declared here 550 | SettleOnTryNote(JSContext* cx, JSTryNote* tn, const JitFrameIterator& frame, | ~~~~~~~~~~~^~ 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::TryNoteIter::TryNoteIter(JSContext*, JSScript*, unsigned char*, js::jit::BaselineFrameStackDepthOp)' at src/third_party/mozjs-45/extract/js/src/vm/Interpreter.h:310:9, inlined from 'js::jit::TryNoteIterBaseline::TryNoteIterBaseline(JSContext*, js::jit::BaselineFrame*, unsigned char*)' at src/third_party/mozjs-45/extract/js/src/jit/JitFrames.cpp:598:78, inlined from 'js::jit::CloseLiveIteratorsBaselineForUncatchableException(JSContext*, js::jit::JitFrameIterator const&, unsigned char*)' at src/third_party/mozjs-45/extract/js/src/jit/JitFrames.cpp:608:63: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'tni' in 'MEM[(struct Rooted * *)cx_51(D) + 40B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/JitFrames.cpp: In function 'js::jit::CloseLiveIteratorsBaselineForUncatchableException(JSContext*, js::jit::JitFrameIterator const&, unsigned char*)': src/third_party/mozjs-45/extract/js/src/jit/JitFrames.cpp:608:30: note: 'tni' declared here 608 | for (TryNoteIterBaseline tni(cx, frame.baselineFrame(), pc); !tni.done(); ++tni) { | ^~~ src/third_party/mozjs-45/extract/js/src/jit/JitFrames.cpp:605:62: note: 'cx' declared here 605 | CloseLiveIteratorsBaselineForUncatchableException(JSContext* cx, const JitFrameIterator& frame, | ~~~~~~~~~~~^~ 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 'CanAttachNativeGetProp(JSContext*, js::jit::GetPropertyIC const&, JS::Handle, JS::Handle, JS::MutableHandle, JS::MutableHandle, bool)js::jit::GetPropertyIC::NativeGetPropCacheability' at src/third_party/mozjs-45/extract/js/src/jit/IonCaches.cpp:1289:18: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'script' in 'MEM[(struct Rooted * *)cx_79(D) + 40B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/IonCaches.cpp: In function 'CanAttachNativeGetProp(JSContext*, js::jit::GetPropertyIC const&, JS::Handle, JS::Handle, JS::MutableHandle, JS::MutableHandle, bool)js::jit::GetPropertyIC::NativeGetPropCacheability': src/third_party/mozjs-45/extract/js/src/jit/IonCaches.cpp:1289:18: note: 'script' declared here 1289 | RootedScript script(cx); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/jit/IonCaches.cpp:1264:35: note: 'cx' declared here 1264 | CanAttachNativeGetProp(JSContext* cx, const GetPropCache& cache, | ~~~~~~~~~~~^~ 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::FetchName(JSContext*, JS::Handle, JS::Handle, JS::Handle, JS::Handle, JS::MutableHandle)bool' at src/third_party/mozjs-45/extract/js/src/vm/Interpreter-inl.h:194:22: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'normalized' in 'MEM[(struct Rooted * *)cx_117(D) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Interpreter-inl.h: In function 'js::FetchName(JSContext*, JS::Handle, JS::Handle, JS::Handle, JS::Handle, JS::MutableHandle)bool': src/third_party/mozjs-45/extract/js/src/vm/Interpreter-inl.h:194:22: note: 'normalized' declared here 194 | RootedObject normalized(cx, obj); | ^~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Interpreter-inl.h:177:22: note: 'cx' declared here 177 | FetchName(JSContext* cx, HandleObject obj, HandleObject obj2, HandlePropertyName name, | ~~~~~~~~~~~^~ 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::FetchName(JSContext*, JS::Handle, JS::Handle, JS::Handle, JS::Handle, JS::MutableHandle)bool' at src/third_party/mozjs-45/extract/js/src/vm/Interpreter-inl.h:194:22: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'normalized' in 'MEM[(struct Rooted * *)cx_119(D) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Interpreter-inl.h: In function 'js::FetchName(JSContext*, JS::Handle, JS::Handle, JS::Handle, JS::Handle, JS::MutableHandle)bool': src/third_party/mozjs-45/extract/js/src/vm/Interpreter-inl.h:194:22: note: 'normalized' declared here 194 | RootedObject normalized(cx, obj); | ^~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/Interpreter-inl.h:177:22: note: 'cx' declared here 177 | FetchName(JSContext* cx, HandleObject obj, HandleObject obj2, HandlePropertyName name, | ~~~~~~~~~~~^~ 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_70(D) + 12B]' [-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:1546:51: note: 'cx' declared here 1546 | GetPropertyIC::tryAttachUnboxedExpando(JSContext* cx, HandleScript outerScript, IonScript* ion, | ~~~~~~~~~~~^~ 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::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:3571: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_41(D) + 16B]' [-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:3571:17: note: 'shape' declared here 3571 | RootedShape shape(cx); | ^~~~~ src/third_party/mozjs-45/extract/js/src/jit/IonCaches.cpp:3566:51: note: 'cx' declared here 3566 | SetPropertyIC::tryAttachUnboxedExpando(JSContext* cx, HandleScript outerScript, IonScript* ion, | ~~~~~~~~~~~^~ 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_25(D) + 12B]' [-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:3628:44: note: 'cx' declared here 3628 | SetPropertyIC::tryAttachAddSlot(JSContext* cx, HandleScript outerScript, IonScript* ion, | ~~~~~~~~~~~^~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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::GetElement(JSContext*, JS::Handle, JS::Handle, unsigned int, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:188:19, inlined from 'js::GetElement(JSContext*, JS::Handle, JS::Handle, unsigned int, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:199:22, inlined from 'js::GetObjectElementOperation(JSContext*, JSOp, JS::Handle, JS::Handle, JS::Handle, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/vm/Interpreter-inl.h:427:28, inlined from 'js::jit::GetPropertyIC::update(JSContext*, JS::Handle, unsigned int, JS::Handle, JS::Handle, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/jit/IonCaches.cpp:2265:39: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'id' in 'MEM[(struct Rooted * *)cx_175(D) + 48B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsobjinlines.h: In function 'js::jit::GetPropertyIC::update(JSContext*, JS::Handle, unsigned int, JS::Handle, JS::Handle, JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:188:14: note: 'id' declared here 188 | RootedId id(cx); | ^~ src/third_party/mozjs-45/extract/js/src/jit/IonCaches.cpp:2215:34: note: 'cx' declared here 2215 | GetPropertyIC::update(JSContext* cx, HandleScript outerScript, size_t cacheIndex, | ~~~~~~~~~~~^~ 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::SetPropertyIC::update(JSContext*, JS::Handle, unsigned int, JS::Handle, JS::Handle, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/jit/IonCaches.cpp:3683:28: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'oldShape' in 'MEM[(struct Rooted * *)cx_183(D) + 16B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/IonCaches.cpp: In function 'js::jit::SetPropertyIC::update(JSContext*, JS::Handle, unsigned int, JS::Handle, JS::Handle, JS::Handle)': src/third_party/mozjs-45/extract/js/src/jit/IonCaches.cpp:3683:17: note: 'oldShape' declared here 3683 | RootedShape oldShape(cx); | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/IonCaches.cpp:3673:34: note: 'cx' declared here 3673 | SetPropertyIC::update(JSContext* cx, HandleScript outerScript, size_t cacheIndex, HandleObject obj, | ~~~~~~~~~~~^~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/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/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 src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::shared_ptr, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194: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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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++/13/bits/stl_pair.h:194: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/s/balancer/migration_manager.cpp: In member function 'void mongo::MigrationManager::_schedule(mongo::WithLock, mongo::OperationContext*, const mongo::HostAndPort&, Migration)': src/mongo/db/s/balancer/migration_manager.cpp:535:50: warning: redundant move in initialization [-Wredundant-move] 535 | _complete(lock, opCtx, itMigration, std::move(callbackHandleWithStatus.getStatus())); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/s/balancer/migration_manager.cpp:535:50: note: remove 'std::move' call 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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 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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ 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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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/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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 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/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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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/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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/transport/libservice_entry_point.a build/fedora/mongo/transport/service_entry_point_impl.o build/fedora/mongo/transport/service_state_machine.o Skipping ranlib for thin archive build/fedora/mongo/transport/libservice_entry_point.a 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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++/13/bits/stl_pair.h:194: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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/platform/i386/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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/i386/linux/build -Isrc/third_party/mozjs-45/platform/i386/linux/build -Ibuild/fedora/third_party/mozjs-45/platform/i386/linux/include -Isrc/third_party/mozjs-45/platform/i386/linux/include src/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src16.cpp 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 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/i386/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 | ^~~~~~~~ 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/i386/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 | ^~~~~~~~ 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/i386/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 = 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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::Value&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::jit::RBitNot::recover(JSContext*, js::jit::SnapshotIterator&) const' at src/third_party/mozjs-45/extract/js/src/jit/Recover.cpp:164:40: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'operand' in 'MEM[(struct Rooted * *)cx_58(D) + 52B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/Recover.cpp: In member function 'js::jit::RBitNot::recover(JSContext*, js::jit::SnapshotIterator&) const': src/third_party/mozjs-45/extract/js/src/jit/Recover.cpp:164:17: note: 'operand' declared here 164 | RootedValue operand(cx, iter.read()); | ^~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/Recover.cpp:162:29: note: 'cx' declared here 162 | RBitNot::recover(JSContext* cx, SnapshotIterator& iter) 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::jit::RStringLength::recover(JSContext*, js::jit::SnapshotIterator&) const' at src/third_party/mozjs-45/extract/js/src/jit/Recover.cpp:560: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_42(D) + 52B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/Recover.cpp: In member function 'js::jit::RStringLength::recover(JSContext*, js::jit::SnapshotIterator&) const': src/third_party/mozjs-45/extract/js/src/jit/Recover.cpp:560:17: note: 'result' declared here 560 | RootedValue result(cx); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/jit/Recover.cpp:557:35: note: 'cx' declared here 557 | RStringLength::recover(JSContext* cx, SnapshotIterator& iter) const | ~~~~~~~~~~~^~ 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::RBitAnd::recover(JSContext*, js::jit::SnapshotIterator&) const' at src/third_party/mozjs-45/extract/js/src/jit/Recover.cpp:190:36: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'rhs' in 'MEM[(struct Rooted * *)cx_88(D) + 52B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/Recover.cpp: In member function 'js::jit::RBitAnd::recover(JSContext*, js::jit::SnapshotIterator&) const': src/third_party/mozjs-45/extract/js/src/jit/Recover.cpp:190:17: note: 'rhs' declared here 190 | RootedValue rhs(cx, iter.read()); | ^~~ src/third_party/mozjs-45/extract/js/src/jit/Recover.cpp:187:29: note: 'cx' declared here 187 | RBitAnd::recover(JSContext* cx, SnapshotIterator& iter) const | ~~~~~~~~~~~^~ 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::RBitOr::recover(JSContext*, js::jit::SnapshotIterator&) const' at src/third_party/mozjs-45/extract/js/src/jit/Recover.cpp:217:36: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'rhs' in 'MEM[(struct Rooted * *)cx_88(D) + 52B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/Recover.cpp: In member function 'js::jit::RBitOr::recover(JSContext*, js::jit::SnapshotIterator&) const': src/third_party/mozjs-45/extract/js/src/jit/Recover.cpp:217:17: note: 'rhs' declared here 217 | RootedValue rhs(cx, iter.read()); | ^~~ src/third_party/mozjs-45/extract/js/src/jit/Recover.cpp:214:28: note: 'cx' declared here 214 | RBitOr::recover(JSContext* cx, SnapshotIterator& iter) const | ~~~~~~~~~~~^~ 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::RBitXor::recover(JSContext*, js::jit::SnapshotIterator&) const' at src/third_party/mozjs-45/extract/js/src/jit/Recover.cpp:244:36: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'rhs' in 'MEM[(struct Rooted * *)cx_88(D) + 52B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/Recover.cpp: In member function 'js::jit::RBitXor::recover(JSContext*, js::jit::SnapshotIterator&) const': src/third_party/mozjs-45/extract/js/src/jit/Recover.cpp:244:17: note: 'rhs' declared here 244 | RootedValue rhs(cx, iter.read()); | ^~~ src/third_party/mozjs-45/extract/js/src/jit/Recover.cpp:241:29: note: 'cx' declared here 241 | RBitXor::recover(JSContext* cx, SnapshotIterator& iter) const | ~~~~~~~~~~~^~ 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::RRsh::recover(JSContext*, js::jit::SnapshotIterator&) const' at src/third_party/mozjs-45/extract/js/src/jit/Recover.cpp:297:36: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'rhs' in 'MEM[(struct Rooted * *)cx_89(D) + 52B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/Recover.cpp: In member function 'js::jit::RRsh::recover(JSContext*, js::jit::SnapshotIterator&) const': src/third_party/mozjs-45/extract/js/src/jit/Recover.cpp:297:17: note: 'rhs' declared here 297 | RootedValue rhs(cx, iter.read()); | ^~~ src/third_party/mozjs-45/extract/js/src/jit/Recover.cpp:294:26: note: 'cx' declared here 294 | RRsh::recover(JSContext* cx, SnapshotIterator& iter) const | ~~~~~~~~~~~^~ 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::RLsh::recover(JSContext*, js::jit::SnapshotIterator&) const' at src/third_party/mozjs-45/extract/js/src/jit/Recover.cpp:270:36: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'rhs' in 'MEM[(struct Rooted * *)cx_91(D) + 52B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/Recover.cpp: In member function 'js::jit::RLsh::recover(JSContext*, js::jit::SnapshotIterator&) const': src/third_party/mozjs-45/extract/js/src/jit/Recover.cpp:270:17: note: 'rhs' declared here 270 | RootedValue rhs(cx, iter.read()); | ^~~ src/third_party/mozjs-45/extract/js/src/jit/Recover.cpp:267:26: note: 'cx' declared here 267 | RLsh::recover(JSContext* cx, SnapshotIterator& iter) const | ~~~~~~~~~~~^~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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::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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/db/pipeline/value.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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/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 src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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:731: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)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 /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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=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/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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++/13/bits/stl_pair.h:194: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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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/i386/linux/include -Ibuild/fedora -Isrc src/mongo/scripting/mozjs/internedstring.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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [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/views/view_catalog.cpp: In member function 'mongo::StatusWith > mongo::ViewCatalog::_validatePipeline_inlock(mongo::OperationContext*, const mongo::ViewDefinition&) const': src/mongo/db/views/view_catalog.cpp:279:21: warning: redundant move in return statement [-Wredundant-move] 279 | return std::move(involvedNamespaces); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/mongo/db/views/view_catalog.cpp:279: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/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 file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from 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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/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 { | ^~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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_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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::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/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return 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::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return 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:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with 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::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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::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 { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/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/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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_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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/util/options_parser/option_section.h:29, from src/mongo/db/mongod_options.h:38, from src/mongo/db/mongod_options_init.cpp:29: src/mongo/util/options_parser/option_description.h:190:24: warning: identifier 'requires' is a keyword in C++20 [-Wc++20-compat] 190 | OptionDescription& requires(const std::string& otherDottedName); | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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/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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/client/query.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++/13/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 int)' 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)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from 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 { | ^~~~~ 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move 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/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 { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() 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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::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::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::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::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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from /usr/include/string.h:535, from /usr/include/c++/13/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/create_collection.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::operator<<(mongo::StringData)' at src/mongo/bson/util/builder.h:441:15, inlined from 'mongoutils::str::stream::operator<< , std::allocator > >(std::__cxx11::basic_string, std::allocator > const&)mongoutils::str::stream&' at src/mongo/util/mongoutils/str.h:66:12, inlined from 'mongo::createCollectionForApplyOps(mongo::OperationContext*, std::__cxx11::basic_string, std::allocator > const&, mongo::BSONElement const&, mongo::BSONObj const&, mongo::BSONObj const&)::{lambda()#1}::operator()() const' at src/mongo/db/catalog/create_collection.cpp:210:61: /usr/include/bits/string_fortified.h:29:33: warning: 'memcpy' offset [0, 424] 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/icu4c-57.1/source/common/umapfile.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move 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/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 { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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/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 { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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/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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 { | ^~~~~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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/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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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_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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/options_parser/option_section.h:29, from src/mongo/transport/message_compressor_registry.cpp:38: src/mongo/util/options_parser/option_description.h:190:24: warning: identifier 'requires' is a keyword in C++20 [-Wc++20-compat] 190 | OptionDescription& requires(const std::string& otherDottedName); | ^~~~~~~~ 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/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 { | ^~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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/i386/linux/build -Isrc/third_party/mozjs-45/platform/i386/linux/build -Ibuild/fedora/third_party/mozjs-45/platform/i386/linux/include -Isrc/third_party/mozjs-45/platform/i386/linux/include src/third_party/mozjs-45/extract/js/src/builtin/RegExp.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/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 | ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/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/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 | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() 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/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/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ 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/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() 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/vm/Shape.h:323:7: note: 'class js::BaseShape' declared here 323 | class BaseShape : public gc::TenuredCell | ^~~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [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/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::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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_669(D) + 52B]' [-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:234:32: note: 'cx' declared here 234 | regexp_compile_impl(JSContext* cx, const CallArgs& args) | ~~~~~~~~~~~^~ 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 'regexp_global_impl(JSContext*, JS::CallArgs const&)' at src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp:460:80: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'reObj' in 'MEM[(struct Rooted * *)cx_66(D) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp: In function 'regexp_global_impl(JSContext*, JS::CallArgs const&)': src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp:460:27: note: 'reObj' declared here 460 | Rooted reObj(cx, &args.thisv().toObject().as()); | ^~~~~ src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp:457:31: note: 'cx' declared here 457 | regexp_global_impl(JSContext* cx, const CallArgs& args) | ~~~~~~~~~~~^~ 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 'regexp_ignoreCase_impl(JSContext*, JS::CallArgs const&)' at src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp:480:80: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'reObj' in 'MEM[(struct Rooted * *)cx_66(D) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp: In function 'regexp_ignoreCase_impl(JSContext*, JS::CallArgs const&)': src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp:480:27: note: 'reObj' declared here 480 | Rooted reObj(cx, &args.thisv().toObject().as()); | ^~~~~ src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp:477:35: note: 'cx' declared here 477 | regexp_ignoreCase_impl(JSContext* cx, const CallArgs& args) | ~~~~~~~~~~~^~ 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 'regexp_multiline_impl(JSContext*, JS::CallArgs const&)' at src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp:500:80: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'reObj' in 'MEM[(struct Rooted * *)cx_66(D) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp: In function 'regexp_multiline_impl(JSContext*, JS::CallArgs const&)': src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp:500:27: note: 'reObj' declared here 500 | Rooted reObj(cx, &args.thisv().toObject().as()); | ^~~~~ src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp:497:34: note: 'cx' declared here 497 | regexp_multiline_impl(JSContext* cx, const CallArgs& args) | ~~~~~~~~~~~^~ 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_147(D) + 28B]' [-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:517:31: note: 'cx' declared here 517 | regexp_source_impl(JSContext* cx, const CallArgs& args) | ~~~~~~~~~~~^~ 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 'regexp_sticky_impl(JSContext*, JS::CallArgs const&)' at src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp:549:80: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'reObj' in 'MEM[(struct Rooted * *)cx_66(D) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp: In function 'regexp_sticky_impl(JSContext*, JS::CallArgs const&)': src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp:549:27: note: 'reObj' declared here 549 | Rooted reObj(cx, &args.thisv().toObject().as()); | ^~~~~ src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp:546:31: note: 'cx' declared here 546 | regexp_sticky_impl(JSContext* cx, const CallArgs& args) | ~~~~~~~~~~~^~ 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_122(D) + 28B]' [-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:148:46: note: 'cx' declared here 148 | RegExpInitializeIgnoringLastIndex(JSContext* cx, Handle obj, | ~~~~~~~~~~~^~ 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 'regexp_ignoreCase_impl(JSContext*, JS::CallArgs const&)' at src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp:480:80, inlined from 'JS::CallNonGenericMethod<&(IsRegExpObject(JS::Handle)), &(regexp_ignoreCase_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_ignoreCase(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp:492:72: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'reObj' in 'MEM[(struct Rooted * *)cx_4(D) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp: In function 'regexp_ignoreCase(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp:480:27: note: 'reObj' declared here 480 | Rooted reObj(cx, &args.thisv().toObject().as()); | ^~~~~ src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp:488:30: note: 'cx' declared here 488 | regexp_ignoreCase(JSContext* cx, unsigned argc, JS::Value* vp) | ~~~~~~~~~~~^~ 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 'regexp_sticky_impl(JSContext*, JS::CallArgs const&)' at src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp:549:80, inlined from 'JS::CallNonGenericMethod<&(IsRegExpObject(JS::Handle)), &(regexp_sticky_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_sticky(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp:561:68: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'reObj' in 'MEM[(struct Rooted * *)cx_4(D) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp: In function 'regexp_sticky(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp:549:27: note: 'reObj' declared here 549 | Rooted reObj(cx, &args.thisv().toObject().as()); | ^~~~~ src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp:557:26: note: 'cx' declared here 557 | regexp_sticky(JSContext* cx, unsigned argc, JS::Value* vp) | ~~~~~~~~~~~^~ 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 'regexp_global_impl(JSContext*, JS::CallArgs const&)' at src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp:460:80, inlined from 'JS::CallNonGenericMethod<&(IsRegExpObject(JS::Handle)), &(regexp_global_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_global(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp:472:68: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'reObj' in 'MEM[(struct Rooted * *)cx_4(D) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp: In function 'regexp_global(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp:460:27: note: 'reObj' declared here 460 | Rooted reObj(cx, &args.thisv().toObject().as()); | ^~~~~ src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp:468:26: note: 'cx' declared here 468 | regexp_global(JSContext* cx, unsigned argc, JS::Value* vp) | ~~~~~~~~~~~^~ 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 'regexp_multiline_impl(JSContext*, JS::CallArgs const&)' at src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp:500:80, inlined from 'JS::CallNonGenericMethod<&(IsRegExpObject(JS::Handle)), &(regexp_multiline_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_multiline(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp:512:71: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'reObj' in 'MEM[(struct Rooted * *)cx_4(D) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp: In function 'regexp_multiline(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp:500:27: note: 'reObj' declared here 500 | Rooted reObj(cx, &args.thisv().toObject().as()); | ^~~~~ src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp:508:29: note: 'cx' declared here 508 | regexp_multiline(JSContext* cx, unsigned argc, JS::Value* vp) | ~~~~~~~~~~~^~ 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_4(D) + 28B]' [-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:537:26: note: 'cx' declared here 537 | regexp_source(JSContext* cx, unsigned argc, JS::Value* vp) | ~~~~~~~~~~~^~ 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_46(D) + 28B]' [-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:646:32: note: 'cx' declared here 646 | static_input_setter(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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) + 12B]' [-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:704:38: note: 'cx' declared here 704 | js::CreateRegExpPrototype(JSContext* cx, JSProtoKey key) | ~~~~~~~~~~~^~ 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_493(D) + 52B]' [-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:304:33: note: 'cx' declared here 304 | js::regexp_construct(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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_211(D) + 28B]' [-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:741:30: note: 'cx' declared here 741 | js::ExecuteRegExp(JSContext* cx, HandleObject regexp, HandleString string, | ~~~~~~~~~~~^~ 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 'ExecuteRegExp(JSContext*, JS::CallArgs const&, js::MatchPairs*)' at src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp:848:61, inlined from 'regexp_test_impl(JSContext*, JS::CallArgs const&)' at src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp:923:43: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'string' in 'MEM[(struct Rooted * *)cx_3(D) + 28B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp: In function 'regexp_test_impl(JSContext*, JS::CallArgs const&)': src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp:848:18: note: 'string' declared here 848 | RootedString string(cx, ToString(cx, args.get(0))); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp:921:29: note: 'cx' declared here 921 | regexp_test_impl(JSContext* cx, const CallArgs& args) | ~~~~~~~~~~~^~ 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) + 12B]' [-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:431:44: note: 'cx' declared here 431 | js::regexp_construct_no_statics(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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_94(D) + 12B]' [-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:28:40: note: 'cx' declared here 28 | js::CreateRegExpMatchResult(JSContext* cx, HandleString input, const MatchPairs& matches, | ~~~~~~~~~~~^~ 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_67(D) + 28B]' [-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:876:29: note: 'cx' declared here 876 | regexp_exec_impl(JSContext* cx, const CallArgs& args) | ~~~~~~~~~~~^~ 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) + 52B]' [-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:294:27: note: 'cx' declared here 294 | regexp_compile(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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_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_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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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_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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__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 { | ^~~~~ src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return 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::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return 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:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with 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::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move 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_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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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_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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with 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::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.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::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() 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.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 src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() 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.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/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 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_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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with 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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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_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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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 In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 { | ^~~~~ src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return 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::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [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::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return 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 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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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_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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/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 { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() 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/db/matcher/expression.h:36: src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* 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_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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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_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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__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 src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::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/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from 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 { | ^~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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 Skipping ranlib for thin archive build/fedora/mongo/db/matcher/libexpressions.a 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/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 { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move 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/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 { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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_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::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::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: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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, 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 { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/pipeline/value.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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from 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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from 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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 /usr/bin/python3 buildscripts/idl/idlc.py --include src --base_dir build/fedora --target_arch i386 --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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/libdbmessage.a build/fedora/mongo/db/dbmessage.o Skipping ranlib for thin archive build/fedora/mongo/db/libdbmessage.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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from /usr/include/string.h:535, from /usr/include/c++/13/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:731: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:970: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/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from 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 { | ^~~~~~~~~~~~ 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 src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ Skipping ranlib for thin archive build/fedora/mongo/db/auth/libaddress_restriction.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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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 /usr/include/c++/13/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 int) 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 4294967295 exceeds maximum object size 2147483647 [-Wstringop-overread] 102 | return __builtin_memchr (__s, __c, __n); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ In file included from /usr/include/c++/13/string:54, from /usr/include/c++/13/bitset:52, 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++/13/bits/basic_string.h:2597: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++/13/bits/basic_string.h:223:28: note: source object allocated here 223 | { return _M_dataplus._M_p; } | ~~~~~~~~~~~~^~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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++/13/bits/stl_pair.h:194: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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return 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/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 { | ^~~~~~~~~~~~ In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-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/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-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::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move 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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return 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/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return 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:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with 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::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return 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/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [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::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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, 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/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 { | ^~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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_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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/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/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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++/13/bits/stl_pair.h:194: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/s/config/configsvr_shard_collection_command.cpp: In member function 'virtual bool mongo::{anonymous}::ConfigSvrShardCollectionCommand::run(mongo::OperationContext*, const std::string&, const mongo::BSONObj&, mongo::BSONObjBuilder&)': src/mongo/db/s/config/configsvr_shard_collection_command.cpp:785:34: warning: redundant move in initialization [-Wredundant-move] 785 | auto uuid = std::move(shardCollResponse.getCollectionUUID()); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/s/config/configsvr_shard_collection_command.cpp:785:34: 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/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 { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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_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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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++/13/bits/stl_pair.h:194: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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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_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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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_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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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++/13/bits/stl_pair.h:194: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/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/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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_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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 /usr/include/string.h:535, from /usr/include/c++/13/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:731:14, inlined from 'mongo::BSONObjBuilder::append(mongo::StringData, std::vector > const&)mongo::BSONObjBuilder&' at src/mongo/bson/bsonobjbuilder.h:970: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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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/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 file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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_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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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_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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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/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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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 { | ^~~~~ 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_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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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 { | ^~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::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::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:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/pipeline/value.h:33, from src/mongo/db/pipeline/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 { | ^~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/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 { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::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/matcher/expression.h:40, from src/mongo/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from 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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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/i386/linux/include -Ibuild/fedora -Isrc src/mongo/scripting/mozjs/jsstringwrapper.cpp 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from 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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return 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::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/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/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, long long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 long unsigned int; 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from 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 { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.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, long long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/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, 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/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::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 = unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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 { | ^~~~~ 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::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; 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::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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/i386/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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/i386/linux/build -Isrc/third_party/mozjs-45/platform/i386/linux/build -Ibuild/fedora/third_party/mozjs-45/platform/i386/linux/include -Isrc/third_party/mozjs-45/platform/i386/linux/include src/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src3.cpp 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/i386/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 | ^~~~~~~~ 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 | ^~~~~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/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 src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from 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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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 'js::SymbolObject::construct(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/builtin/SymbolObject.cpp:105:25: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'desc' in 'MEM[(struct Rooted * *)cx_57(D) + 28B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SymbolObject.cpp: In function 'js::SymbolObject::construct(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/builtin/SymbolObject.cpp:105:18: note: 'desc' declared here 105 | RootedString desc(cx); | ^~~~ src/third_party/mozjs-45/extract/js/src/builtin/SymbolObject.cpp:92:36: note: 'cx' declared here 92 | SymbolObject::construct(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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_42(D) + 28B]' [-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:122:31: note: 'cx' declared here 122 | SymbolObject::for_(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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_64(D) + 40B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/platform/i386/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:2657:28: note: 'cx' declared here 2657 | ByteSizeOfScript(JSContext*cx, unsigned argc, Value* vp) | ~~~~~~~~~~^~ 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_316(D) + 12B]' [-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:76:34: note: 'cx' declared here 76 | GetBuildConfiguration(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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_86(D) + 28B]' [-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:2005:19: note: 'cx' declared here 2005 | Neuter(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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_183(D) + 12B]' [-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:1759:34: note: 'cx' declared here 1759 | GetJitCompilerOptions(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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) + 52B]' [-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:870:21: note: 'cx' declared here 870 | HasChild(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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) + 12B]' [-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:1200:28: note: 'cx' declared here 1200 | MakeFakePromise(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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_176(D) + 12B]' [-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:2863:26: note: 'cx' declared here 2863 | SetGCCallback(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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_187(D) + 12B]' [-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:2197:25: note: 'cx' declared here 2197 | GetBacktrace(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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_216(D) + 12B]' [-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:1403:34: note: 'cx' declared here 1403 | ReadSPSProfilingStack(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/platform/i386/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:475:56: note: 'cx' declared here 475 | CreatePrototypeObjectForComplexTypeInstance(JSContext* cx, HandleObject ctorPrototype) | ~~~~~~~~~~~^~ 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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/platform/i386/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:437:29: note: 'cx' declared here 437 | InitWeakMapClass(JSContext* cx, HandleObject obj, bool defineMembers) | ~~~~~~~~~~~^~ In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, CloneBufferObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'CloneBufferObject::getCloneBuffer_impl(JSContext*, JS::CallArgs const&)' at src/third_party/mozjs-45/extract/js/src/builtin/TestingFunctions.cpp:1894: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_54(D) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/TestingFunctions.cpp: In function 'CloneBufferObject::getCloneBuffer_impl(JSContext*, JS::CallArgs const&)': src/third_party/mozjs-45/extract/js/src/builtin/TestingFunctions.cpp:1894:36: note: 'obj' declared here 1894 | Rooted obj(cx, &args.thisv().toObject().as()); | ^~~ src/third_party/mozjs-45/extract/js/src/builtin/TestingFunctions.cpp:1893:36: note: 'cx' declared here 1893 | getCloneBuffer_impl(JSContext* cx, const CallArgs& args) { | ~~~~~~~~~~~^~ In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::ReferenceTypeDescr*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::ReferenceTypeDescr::call(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/builtin/TypedObject.cpp:373:82: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'descr' in 'MEM[(struct Rooted * *)cx_77(D) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/TypedObject.cpp: In function 'js::ReferenceTypeDescr::call(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/builtin/TypedObject.cpp:373:33: note: 'descr' declared here 373 | Rooted descr(cx, &args.callee().as()); | ^~~~~ src/third_party/mozjs-45/extract/js/src/builtin/TypedObject.cpp:368:41: note: 'cx' declared here 368 | js::ReferenceTypeDescr::call(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, CloneBufferObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'CloneBufferObject::getCloneBuffer_impl(JSContext*, JS::CallArgs const&)' at src/third_party/mozjs-45/extract/js/src/builtin/TestingFunctions.cpp:1894:92, inlined from 'JS::CallNonGenericMethod<&CloneBufferObject::is, &CloneBufferObject::getCloneBuffer_impl>(JSContext*, JS::CallArgs const&)bool' at src/third_party/mozjs-45/include/js/CallNonGenericMethod.h:100:20, inlined from 'CloneBufferObject::getCloneBuffer(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/builtin/TestingFunctions.cpp:1921:61: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_4(D) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/TestingFunctions.cpp: In function 'CloneBufferObject::getCloneBuffer(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/builtin/TestingFunctions.cpp:1894:36: note: 'obj' declared here 1894 | Rooted obj(cx, &args.thisv().toObject().as()); | ^~~ src/third_party/mozjs-45/extract/js/src/builtin/TestingFunctions.cpp:1919:31: note: 'cx' declared here 1919 | getCloneBuffer(JSContext* cx, unsigned int argc, JS::Value* vp) { | ~~~~~~~~~~~^~ In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::ScalarTypeDescr*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::ScalarTypeDescr::call(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/builtin/TypedObject.cpp:277:76: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'descr' in 'MEM[(struct Rooted * *)cx_94(D) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/TypedObject.cpp: In function 'js::ScalarTypeDescr::call(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/builtin/TypedObject.cpp:277:30: note: 'descr' declared here 277 | Rooted descr(cx, &args.callee().as()); | ^~~~~ src/third_party/mozjs-45/extract/js/src/builtin/TypedObject.cpp:268:34: note: 'cx' declared here 268 | ScalarTypeDescr::call(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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 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_205(D) + 28B]' [-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:2568:39: note: 'cx' declared here 2568 | ShellCloneAndExecuteScript(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted&>(JSContext* const&, JS::MutableHandle&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'JSCompartment::wrap(JSContext*, JS::MutableHandle, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/jscompartmentinlines.h:106:29: 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) + 52B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jscompartmentinlines.h: In member function 'JSCompartment::wrap(JSContext*, JS::MutableHandle, JS::Handle)': src/third_party/mozjs-45/extract/js/src/jscompartmentinlines.h:106:21: note: 'v' declared here 106 | JS::RootedValue v(cx, vp); | ^ src/third_party/mozjs-45/extract/js/src/jscompartmentinlines.h:57:32: note: 'cx' declared here 57 | JSCompartment::wrap(JSContext* cx, JS::MutableHandleValue vp, JS::HandleObject existing) | ~~~~~~~~~~~^~ 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_367(D) + 28B]' [-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:2479:31: note: 'cx' declared here 2479 | EvalReturningScope(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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_148(D) + 12B]' [-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:53:36: note: 'cx' declared here 53 | SymbolObject::initClass(JSContext* cx, HandleObject obj) | ~~~~~~~~~~~^~ 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::TypedObject::obj_hasProperty(JSContext*, JS::Handle, JS::Handle, bool*)' at src/third_party/mozjs-45/extract/js/src/builtin/TypedObject.cpp:1740:62: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'typedObj' in 'MEM[(struct Rooted * *)cx_90(D) + 12B]' [-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:1740:26: note: 'typedObj' declared here 1740 | Rooted typedObj(cx, &obj->as()); | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/TypedObject.cpp:1738:41: note: 'cx' declared here 1738 | TypedObject::obj_hasProperty(JSContext* cx, HandleObject obj, HandleId id, bool* foundp) | ~~~~~~~~~~~^~ 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) + 28B]' [-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:2032:44: note: 'cx' declared here 2032 | TypedObject::obj_deleteProperty(JSContext* cx, HandleObject obj, HandleId id, ObjectOpResult& result) | ~~~~~~~~~~~^~ 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_40(D) + 24B]' [-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:1460:58: note: 'cx' declared here 1460 | OutlineTypedObject::createUnattachedWithClass(JSContext* cx, | ~~~~~~~~~~~^~ 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_52(D) + 12B]' [-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:1688:44: note: 'cx' declared here 1688 | TypedObject::obj_lookupProperty(JSContext* cx, HandleObject obj, HandleId id, | ~~~~~~~~~~~^~ 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_40(D) + 24B]' [-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:2099:38: note: 'cx' declared here 2099 | InlineTypedObject::create(JSContext* cx, HandleTypeDescr descr, gc::InitialHeap heap) | ~~~~~~~~~~~^~ 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_195(D) + 12B]' [-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:219:46: note: 'cx' declared here 219 | JS_NondeterministicGetWeakMapKeys(JSContext* cx, HandleObject objArg, MutableHandleObject ret) | ~~~~~~~~~~~^~ 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_93(D) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/platform/i386/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:45:37: note: 'cx' declared here 45 | WeakSetObject::initClass(JSContext* cx, JSObject* obj) | ~~~~~~~~~~~^~ In file included from src/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 { | ^~~~~ 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_85(D) + 12B]' [-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:110:29: note: 'cx' declared here 110 | ConvertAndCopyTo(JSContext* cx, | ~~~~~~~~~~~^~ 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 int, 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_78(D) + 12B]' [-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 int, 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:151:18: note: 'cx' declared here 151 | Reify(JSContext* cx, | ~~~~~~~~~~~^~ 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_83(D) + 12B]' [-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:1836:40: note: 'cx' declared here 1836 | TypedObject::obj_getElement(JSContext* cx, HandleObject obj, HandleValue receiver, | ~~~~~~~~~~~^~ 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_137(D) + 12B]' [-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:1779:41: note: 'cx' declared here 1779 | TypedObject::obj_getProperty(JSContext* cx, HandleObject obj, HandleValue receiver, | ~~~~~~~~~~~^~ In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::TypeDescr*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, 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:1958:56: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'descr' in 'MEM[(struct Rooted * *)cx_168(D) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:1949:54: note: 'cx' declared here 1949 | TypedObject::obj_getOwnPropertyDescriptor(JSContext* cx, HandleObject obj, HandleId id, | ~~~~~~~~~~~^~ 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::TypedObject::obj_enumerate(JSContext*, JS::Handle, JS::AutoVectorRooter&, bool)' at src/third_party/mozjs-45/extract/js/src/builtin/TypedObject.cpp:2052: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_96(D) + 48B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/TypedObject.cpp: In function 'js::TypedObject::obj_enumerate(JSContext*, JS::Handle, JS::AutoVectorRooter&, bool)': src/third_party/mozjs-45/extract/js/src/builtin/TypedObject.cpp:2052:14: note: 'id' declared here 2052 | RootedId id(cx); | ^~ src/third_party/mozjs-45/extract/js/src/builtin/TypedObject.cpp:2045:39: note: 'cx' declared here 2045 | TypedObject::obj_enumerate(JSContext* cx, HandleObject obj, AutoIdVector& properties, | ~~~~~~~~~~~^~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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_391(D) + 12B]' [-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:310:30: note: 'cx' declared here 310 | WeakMap_construct(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 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 'GetModuleEnvironmentNames(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/builtin/TestingFunctions.cpp:3099:72: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'array' in 'MEM[(struct Rooted * *)cx_121(D) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/TestingFunctions.cpp: In function 'GetModuleEnvironmentNames(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/builtin/TestingFunctions.cpp:3099:23: note: 'array' declared here 3099 | RootedArrayObject array(cx, NewDenseFullyAllocatedArray(cx, length)); | ^~~~~ src/third_party/mozjs-45/extract/js/src/builtin/TestingFunctions.cpp:3080:38: note: 'cx' declared here 3080 | GetModuleEnvironmentNames(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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 'FindPath(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/builtin/TestingFunctions.cpp:2444:73: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'result' in 'MEM[(struct Rooted * *)cx_280(D) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/TestingFunctions.cpp: In function 'FindPath(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/builtin/TestingFunctions.cpp:2444:23: note: 'result' declared here 2444 | RootedArrayObject result(cx, NewDenseFullyAllocatedArray(cx, length)); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/TestingFunctions.cpp:2379:21: note: 'cx' declared here 2379 | FindPath(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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_35(D) + 12B]' [-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:64:34: note: 'cx' declared here 64 | WeakSetObject::create(JSContext* cx, HandleObject proto /* = nullptr */) | ~~~~~~~~~~~^~ 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_371(D) + 12B]' [-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:79:37: note: 'cx' declared here 79 | WeakSetObject::construct(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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_193(D) + 28B]' [-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:631:42: note: 'cx' declared here 631 | ArrayMetaTypeDescr::construct(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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_197(D) + 12B]' [-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:1125:34: note: 'cx' declared here 1125 | DefineSimpleTypeDescr(JSContext* cx, | ~~~~~~~~~~~^~ 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_195(D) + 12B]' [-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:1125:34: note: 'cx' declared here 1125 | DefineSimpleTypeDescr(JSContext* cx, | ~~~~~~~~~~~^~ 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_338(D) + 12B]' [-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:1245:48: note: 'cx' declared here 1245 | GlobalObject::initTypedObjectModule(JSContext* cx, Handle global) | ~~~~~~~~~~~^~ 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::InitTypedObjectModuleObject(JSContext*, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/builtin/TypedObject.cpp:1321: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_22(D) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/TypedObject.cpp: In function 'js::InitTypedObjectModuleObject(JSContext*, JS::Handle)': src/third_party/mozjs-45/extract/js/src/builtin/TypedObject.cpp:1321:27: note: 'global' declared here 1321 | Rooted global(cx, &obj->as()); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/TypedObject.cpp:1318:44: note: 'cx' declared here 1318 | js::InitTypedObjectModuleObject(JSContext* cx, HandleObject obj) | ~~~~~~~~~~~^~ 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::StructMetaTypeDescr::create(JSContext*, JS::Handle, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/builtin/TypedObject.cpp:883:56: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'stringRepr' in 'MEM[(struct Rooted * *)cx_774(D) + 28B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/TypedObject.cpp: In function 'js::StructMetaTypeDescr::create(JSContext*, JS::Handle, JS::Handle)': src/third_party/mozjs-45/extract/js/src/builtin/TypedObject.cpp:883:16: note: 'stringRepr' declared here 883 | RootedAtom stringRepr(cx, stringBuffer.finishAtom()); | ^~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/TypedObject.cpp:745:40: note: 'cx' declared here 745 | StructMetaTypeDescr::create(JSContext* cx, | ~~~~~~~~~~~^~ 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_76(D) + 12B]' [-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:1572:38: note: 'cx' declared here 1572 | TypedObject::createZeroed(JSContext* cx, HandleTypeDescr descr, int32_t length, gc::InitialHeap heap) | ~~~~~~~~~~~^~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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/timelib-2018.01alpha1/unixtime2tm.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/parse_zoneinfo.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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/timelib-2018.01alpha1/timelib.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 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/astro.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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 In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() 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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/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 src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move 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_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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return 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 src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return 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::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with 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_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::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::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 { | ^~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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 { | ^~~~~ 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 { | ^~~~~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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/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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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/i386/linux/build -Isrc/third_party/mozjs-45/platform/i386/linux/build -Ibuild/fedora/third_party/mozjs-45/platform/i386/linux/include -Isrc/third_party/mozjs-45/platform/i386/linux/include src/third_party/mozjs-45/extract/js/src/mfbt/Unified_cpp_mfbt0.cpp In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from 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++/13/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:731: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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/executor/connection_pool.cpp 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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/i386/linux/include -Ibuild/fedora -Isrc src/mongo/scripting/mozjs/bson.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 { | ^~~~~ 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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_103(D) + 48B]' [-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:126:37: note: 'cx' declared here 126 | void BSONInfo::enumerate(JSContext* cx, | ~~~~~~~~~~~^~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() 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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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 src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here 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/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return 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:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [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::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202: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 { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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/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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/scripting/engine.cpp 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/third_party/mozjs-45/platform/i386/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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/i386/linux/build -Isrc/third_party/mozjs-45/platform/i386/linux/build -Ibuild/fedora/third_party/mozjs-45/platform/i386/linux/include -Isrc/third_party/mozjs-45/platform/i386/linux/include src/third_party/mozjs-45/platform/i386/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/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/vm/ReceiverGuard.cpp:9, from src/third_party/mozjs-45/platform/i386/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/vm/Shape.h:23, from src/third_party/mozjs-45/extract/js/src/vm/ReceiverGuard.h:10, from src/third_party/mozjs-45/extract/js/src/vm/ReceiverGuard.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/vm/ReceiverGuard.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/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:17: 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: 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/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 = 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 | ^~~~~~~~~~~~~~ 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 = 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/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 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 g++ -o build/fedora/third_party/mozjs-45/platform/i386/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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/i386/linux/build -Isrc/third_party/mozjs-45/platform/i386/linux/build -Ibuild/fedora/third_party/mozjs-45/platform/i386/linux/include -Isrc/third_party/mozjs-45/platform/i386/linux/include src/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src2.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/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/i386/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 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/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::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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src32.cpp:47: 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:546:34: note: 'cx' declared here 546 | GetFirstSubsumedFrame(JSContext* cx, HandleSavedFrame frame, JS::SavedFrameSelfHosted selfHosted, | ~~~~~~~~~~~^~ 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) + 12B]' [-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:678:29: note: 'cx' declared here 678 | UnwrapSavedFrame(JSContext* cx, HandleObject obj, SavedFrameSelfHosted selfHosted, | ~~~~~~~~~~~^~ 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 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_44(D) + 16B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.cpp:26, from src/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src32.cpp:11: 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/RegExpObject.cpp:44:35: note: 'cx' declared here 44 | js::RegExpAlloc(ExclusiveContext* cx, HandleObject proto /* = nullptr */) | ~~~~~~~~~~~~~~~~~~^~ 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&, 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_59(D) + 12B]' [-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:481:31: note: 'cx' declared here 481 | SavedFrame::create(JSContext* cx) | ~~~~~~~~~~~^~ 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) + 12B]' [-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:773:37: note: 'cx' declared here 773 | GetSavedFrameAsyncParent(JSContext* cx, HandleObject savedFrame, MutableHandleObject asyncParentp, | ~~~~~~~~~~~^~ 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_72(D) + 12B]' [-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:802:32: note: 'cx' declared here 802 | GetSavedFrameParent(JSContext* cx, HandleObject savedFrame, MutableHandleObject parentp, | ~~~~~~~~~~~^~ 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 int)' 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_210(D) + 12B]' [-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 int)': 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:831:29: note: 'cx' declared here 831 | BuildStackString(JSContext* cx, HandleObject stack, MutableHandleString stringp, size_t indent) | ~~~~~~~~~~~^~ 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_97(D) + 28B]' [-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:433:35: note: 'cx' declared here 433 | RegExpObject::toString(JSContext* cx) 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::SavedStacks::getLocation(JSContext*, js::FrameIter const&, js::SavedStacks::MutableHandleLocationValue)' at src/third_party/mozjs-45/extract/js/src/vm/SavedStacks.cpp:1368: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_155(D) + 40B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/SavedStacks.cpp: In member function 'js::SavedStacks::getLocation(JSContext*, js::FrameIter const&, js::SavedStacks::MutableHandleLocationValue)': src/third_party/mozjs-45/extract/js/src/vm/SavedStacks.cpp:1368:18: note: 'script' declared here 1368 | RootedScript script(cx, iter.script()); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/vm/SavedStacks.cpp:1337:37: note: 'cx' declared here 1337 | SavedStacks::getLocation(JSContext* cx, const FrameIter& iter, MutableHandleLocationValue locationp) | ~~~~~~~~~~~^~ 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) + 12B]' [-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:209:49: note: 'cx' declared here 209 | RegExpObject::createNoStatics(ExclusiveContext* cx, HandleAtom source, RegExpFlag flags, | ~~~~~~~~~~~~~~~~~~^~ 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 int, 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) + 28B]' [-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 int, 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:198:49: note: 'cx' declared here 198 | RegExpObject::createNoStatics(ExclusiveContext* cx, const char16_t* chars, size_t length, RegExpFlag flags, | ~~~~~~~~~~~~~~~~~~^~ 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 int, 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 int, 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) + 28B]' [-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 int, 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:190:40: note: 'cx' declared here 190 | RegExpObject::create(ExclusiveContext* cx, RegExpStatics* res, const char16_t* chars, size_t length, | ~~~~~~~~~~~~~~~~~~^~ 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_156(D) + 12B]' [-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:876:34: note: 'cx' declared here 876 | js::CloneRegExpObject(JSContext* cx, JSObject* obj_) | ~~~~~~~~~~~^~ 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) + 12B]' [-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:1305:47: note: 'cx' declared here 1305 | SavedStacks::createFrameFromLookup(JSContext* cx, SavedFrame::HandleLookup lookup) | ~~~~~~~~~~~^~ 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_157(D) + 12B]' [-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:715:63: note: 'cx' declared here 715 | RegExpCompartment::createMatchResultTemplateObject(JSContext* cx) | ~~~~~~~~~~~^~ 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) + 12B]' [-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:1287:47: note: 'cx' declared here 1287 | SavedStacks::getOrCreateSavedFrame(JSContext* cx, SavedFrame::HandleLookup lookup) | ~~~~~~~~~~~^~ 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) + 28B]' [-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:1218:41: note: 'cx' declared here 1218 | SavedStacks::adoptAsyncStack(JSContext* cx, HandleSavedFrame asyncStack, | ~~~~~~~~~~~^~ 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::ubi::ConstructSavedFrameStackSlow(JSContext*, JS::ubi::StackFrame&, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/vm/SavedStacks.cpp:1555:40: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'parentFrame' in 'MEM[(struct Rooted * *)cx_196(D) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/SavedStacks.cpp: In function 'JS::ubi::ConstructSavedFrameStackSlow(JSContext*, JS::ubi::StackFrame&, JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/vm/SavedStacks.cpp:1555:26: note: 'parentFrame' declared here 1555 | js::RootedSavedFrame parentFrame(cx); | ^~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/SavedStacks.cpp:1518:46: note: 'cx' declared here 1518 | bool ConstructSavedFrameStackSlow(JSContext* cx, JS::ubi::StackFrame& frame, | ~~~~~~~~~~~^~ In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted&>(JSContext* const&, JS::Rooted&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::SavedStacks::insertFrames(JSContext*, js::FrameIter&, JS::MutableHandle, unsigned int)' at src/third_party/mozjs-45/extract/js/src/vm/SavedStacks.cpp:1193:49: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'parentFrame' in 'MEM[(struct Rooted * *)cx_292(D) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/SavedStacks.cpp: In member function 'js::SavedStacks::insertFrames(JSContext*, js::FrameIter&, JS::MutableHandle, unsigned int)': src/third_party/mozjs-45/extract/js/src/vm/SavedStacks.cpp:1193:22: note: 'parentFrame' declared here 1193 | RootedSavedFrame parentFrame(cx, cachedFrame); | ^~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/SavedStacks.cpp:1081:38: note: 'cx' declared here 1081 | SavedStacks::insertFrames(JSContext* cx, FrameIter& iter, MutableHandleSavedFrame frame, | ~~~~~~~~~~~^~ 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) + 12B]' [-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:1432:40: note: 'cx' declared here 1432 | SavedStacksMetadataCallback(JSContext* cx, JSObject* target) | ~~~~~~~~~~~^~ 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_92(D) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/platform/i386/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:935:24: note: 'cx' declared here 935 | ProtoSetter(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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 'ProtoGetter(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/builtin/Object.cpp:923:26: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'proto' in 'MEM[(struct Rooted * *)cx_69(D) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/Object.cpp: In function 'ProtoGetter(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/builtin/Object.cpp:923:18: note: 'proto' declared here 923 | RootedObject proto(cx); | ^~~~~ src/third_party/mozjs-45/extract/js/src/builtin/Object.cpp:911:24: note: 'cx' declared here 911 | ProtoGetter(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/platform/i386/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:266:37: note: 'cx' declared here 266 | js::Reflect_isExtensible(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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) + 12B]' [-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:352:35: note: 'cx' declared here 352 | Reflect_setPrototypeOf(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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) + 12B]' [-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:299:38: note: 'cx' declared here 299 | Reflect_preventExtensions(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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 * *)_14 + 28B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/platform/i386/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:427:76: note: 'this' declared here 427 | bool defineProperty(HandleObject obj, const char* name, HandleValue val) { | ^ 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 * *)_11 + 12B]' [-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:654:63: note: 'this' declared here 654 | NodeBuilder::newArray(NodeVector& elts, MutableHandleValue dst) | ^ 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_62(D) + 12B]' [-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:247:39: note: 'cx' declared here 247 | js::Reflect_getPrototypeOf(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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) + 12B]' [-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:1044:34: note: 'cx' declared here 1044 | CreateObjectPrototype(JSContext* cx, JSProtoKey key) | ~~~~~~~~~~~^~ 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_96(D) + 12B]' [-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:799:33: note: 'cx' declared here 799 | obj_defineProperties(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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_45(D) + 12B]' [-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:559:30: note: 'cx' declared here 559 | obj_isPrototypeOf(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, decltype(nullptr)&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::obj_construct(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/builtin/Object.cpp:35:33: 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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/Object.cpp: In function 'js::obj_construct(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/builtin/Object.cpp:35:18: note: 'obj' declared here 35 | RootedObject obj(cx, nullptr); | ^~~ src/third_party/mozjs-45/extract/js/src/builtin/Object.cpp:31:30: note: 'cx' declared here 31 | js::obj_construct(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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::ModuleNamespaceObject::ProxyHandler::delete_(JSContext*, JS::Handle, JS::Handle, JS::ObjectOpResult&) const' at src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.cpp:486:78: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'ns' in 'MEM[(struct Rooted * *)cx_37(D) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.cpp: In member function 'js::ModuleNamespaceObject::ProxyHandler::delete_(JSContext*, JS::Handle, JS::Handle, JS::ObjectOpResult&) const': src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.cpp:486:36: note: 'ns' declared here 486 | Rooted ns(cx, &proxy->as()); | ^~ src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.cpp:483:57: note: 'cx' declared here 483 | ModuleNamespaceObject::ProxyHandler::delete_(JSContext* cx, HandleObject proxy, HandleId id, | ~~~~~~~~~~~^~ 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_89(D) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/platform/i386/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:441:32: note: 'cx' declared here 441 | SimdTypeDescr::call(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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 * *)_81 + 28B]' [-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:390:43: note: 'this' declared here 390 | Arguments&&... rest) | ^ 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 + 12B]' [-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:636:77: note: 'this' declared here 636 | NodeBuilder::createNode(ASTType type, TokenPos* pos, MutableHandleObject dst) | ^ 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 * *)_50 + 28B]' [-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:408:66: note: 'this' declared here 408 | bool newNode(ASTType type, TokenPos* pos, Arguments&&... args) { | ^ 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 * *)_79 + 28B]' [-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:408:66: note: 'this' declared here 408 | bool newNode(ASTType type, TokenPos* pos, Arguments&&... args) { | ^ 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 * *)_117 + 28B]' [-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:415:41: note: 'this' declared here 415 | MutableHandleValue dst) { | ^ 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 * *)_141 + 28B]' [-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:942:52: note: 'this' declared here 942 | MutableHandleValue dst) | ^ 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 * *)_116 + 28B]' [-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:851:64: note: 'this' declared here 851 | TokenPos* pos, MutableHandleValue dst) | ^ 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 * *)_119 + 28B]' [-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:1308:100: note: 'this' declared here 1308 | NodeBuilder::yieldExpression(HandleValue arg, YieldKind kind, TokenPos* pos, MutableHandleValue dst) | ^ 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 * *)_116 + 28B]' [-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:1136:50: note: 'this' declared here 1136 | MutableHandleValue dst) | ^ 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 * *)_116 + 28B]' [-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:1118:51: note: 'this' declared here 1118 | MutableHandleValue dst) | ^ 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 * *)_96 + 28B]' [-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:782:48: note: 'this' declared here 782 | MutableHandleValue dst) | ^ 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 * *)_85 + 28B]' [-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:1570:76: note: 'this' declared here 1570 | NodeBuilder::literal(HandleValue val, TokenPos* pos, MutableHandleValue dst) | ^ 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 * *)_132 + 28B]' [-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:963:85: note: 'this' declared here 963 | HandleValue finally, TokenPos* pos, MutableHandleValue dst) | ^ 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 * *)_108 + 28B]' [-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:408:66: note: 'this' declared here 408 | bool newNode(ASTType type, TokenPos* pos, Arguments&&... args) { | ^ 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 * *)_115 + 28B]' [-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:1097:73: note: 'this' declared here 1097 | TokenPos* pos, MutableHandleValue dst) | ^ 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 * *)_136 + 28B]' [-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:1154:53: note: 'this' declared here 1154 | MutableHandleValue dst) | ^ 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 * *)_108 + 28B]' [-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:1176:100: note: 'this' declared here 1176 | NodeBuilder::callSiteObj(NodeVector& raw, NodeVector& cooked, TokenPos* pos, MutableHandleValue dst) | ^ 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 * *)_140 + 28B]' [-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:867:66: note: 'this' declared here 867 | TokenPos* pos, MutableHandleValue dst) | ^ 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::ToPropertyKey(JSContext*, JS::Value, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:577:33: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'key' in 'MEM[(struct Rooted * *)cx_32(D) + 52B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsobjinlines.h: In function 'js::ToPropertyKey(JSContext*, JS::Value, JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:577:17: note: 'key' declared here 577 | RootedValue key(cx, argument); | ^~~ src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:574:26: note: 'cx' declared here 574 | ToPropertyKey(JSContext* cx, Value argument, MutableHandleId result) | ~~~~~~~~~~~^~ 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) + 12B]' [-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:203:24: note: 'cx' declared here 203 | Reflect_get(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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_103(D) + 12B]' [-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:515:35: note: 'cx' declared here 515 | js::obj_hasOwnProperty(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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_141(D) + 12B]' [-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:318:24: note: 'cx' declared here 318 | Reflect_set(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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) + 12B]' [-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:147:35: note: 'cx' declared here 147 | Reflect_deleteProperty(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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_106(D) + 12B]' [-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:663:45: note: 'cx' declared here 663 | js::obj_getOwnPropertyDescriptor(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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_135(D) + 12B]' [-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:117:35: note: 'cx' declared here 117 | Reflect_defineProperty(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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) + 12B]' [-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:57:41: note: 'cx' declared here 57 | js::obj_propertyIsEnumerable(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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_109(D) + 12B]' [-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:273:42: note: 'cx' declared here 273 | ModuleNamespaceObject::create(JSContext* cx, HandleModuleObject module) | ~~~~~~~~~~~^~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/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 { | ^~~~~~~~~~~~ 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_116(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:431:29: note: 'cx' declared here 431 | js::WatchHandler(JSContext* cx, JSObject* obj_, jsid id_, JS::Value old, | ~~~~~~~~~~~^~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ 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_166(D) + 12B]' [-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:620:27: note: 'cx' declared here 620 | js::obj_create(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ In file included from src/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with 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&, 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) + 12B]' [-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:485:24: note: 'cx' declared here 485 | obj_unwatch(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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_104(D) + 12B]' [-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:453:22: note: 'cx' declared here 453 | obj_watch(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move 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 'InitArgsFromArrayLike(JSContext*, JS::Handle, js::ConstructArgs*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/Reflect.cpp:32:18, inlined from 'Reflect_construct(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/builtin/Reflect.cpp:108: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_78(D) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/Reflect.cpp: In function 'Reflect_construct(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/builtin/Reflect.cpp:32:18: note: 'obj' declared here 32 | RootedObject obj(cx, NonNullObject(cx, v)); | ^~~ src/third_party/mozjs-45/extract/js/src/builtin/Reflect.cpp:84:30: note: 'cx' declared here 84 | Reflect_construct(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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 'InitArgsFromArrayLike(JSContext*, JS::Handle, js::InvokeArgs*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/Reflect.cpp:32:18, inlined from 'Reflect_apply(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/builtin/Reflect.cpp:70: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_17(D) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/Reflect.cpp: In function 'Reflect_apply(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/builtin/Reflect.cpp:32:18: note: 'obj' declared here 32 | RootedObject obj(cx, NonNullObject(cx, v)); | ^~~ src/third_party/mozjs-45/extract/js/src/builtin/Reflect.cpp:56:26: note: 'cx' declared here 56 | Reflect_apply(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() 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::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_101(D) + 12B]' [-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:723:35: note: 'cx' declared here 723 | js::GetOwnPropertyKeys(JSContext* cx, const JS::CallArgs& args, unsigned flags) | ~~~~~~~~~~~^~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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::Value&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from '(anonymous namespace)::ASTSerializer::generatorExpression(js::frontend::ParseNode*, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:2809:60, inlined from '(anonymous namespace)::ASTSerializer::expression(js::frontend::ParseNode*, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:2976:35: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'filter' in 'MEM[(struct Rooted * *)_1304 + 52B]' [-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:2809:17: note: 'filter' declared here 2809 | RootedValue filter(cx, MagicValue(JS_SERIALIZE_NO_NODE)); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:2844:64: note: 'this' declared here 2844 | ASTSerializer::expression(ParseNode* pn, MutableHandleValue dst) | ^ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:708:30, inlined from '(anonymous namespace)::ASTSerializer::functionArgs(js::frontend::ParseNode*, js::frontend::ParseNode*, js::frontend::ParseNode*, JS::AutoVectorRooter&, JS::AutoVectorRooter&, JS::MutableHandle) [clone .isra.0]' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:3527:24: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'node' in 'MEM[(struct Rooted * *)_4 + 52B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp: In member function '(anonymous namespace)::ASTSerializer::functionArgs(js::frontend::ParseNode*, js::frontend::ParseNode*, js::frontend::ParseNode*, JS::AutoVectorRooter&, JS::AutoVectorRooter&, JS::MutableHandle) [clone .isra.0]': src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:3527:17: note: 'node' declared here 3527 | RootedValue node(cx); | ^~~~ src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:3522:52: note: 'this' declared here 3522 | MutableHandleValue rest) | ^ 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::switchCase(js::frontend::ParseNode*, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:2255:24, inlined from '(anonymous namespace)::ASTSerializer::switchStatement(js::frontend::ParseNode*, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:2290:24, inlined from '(anonymous namespace)::ASTSerializer::statement(js::frontend::ParseNode*, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:2465:31: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'expr' in 'MEM[(struct Rooted * *)_1112 + 52B]' [-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:2255:17: note: 'expr' declared here 2255 | RootedValue expr(cx); | ^~~~ src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:2406:63: note: 'this' declared here 2406 | ASTSerializer::statement(ParseNode* pn, MutableHandleValue dst) | ^ 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&, JSAtom*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from '(anonymous namespace)::ASTSerializer::function(js::frontend::ParseNode*, ASTType, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:3461:41: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'funcAtom' in 'MEM[(struct Rooted * *)_56 + 28B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp: In member function '(anonymous namespace)::ASTSerializer::function(js::frontend::ParseNode*, ASTType, JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:3461:16: note: 'funcAtom' declared here 3461 | RootedAtom funcAtom(cx, func->atom()); | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/ReflectParse.cpp:3442:76: note: 'this' declared here 3442 | ASTSerializer::function(ParseNode* pn, ASTType type, MutableHandleValue dst) | ^ 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 * *)_18 + 52B]' [-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:2389:80: note: 'this' declared here 2389 | ASTSerializer::classDefinition(ParseNode* pn, bool expr, MutableHandleValue dst) | ^ 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::ModuleNamespaceObject::ProxyHandler::ownPropertyKeys(JSContext*, JS::Handle, JS::AutoVectorRooter&) const' at src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.cpp:505:49: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'exports' in 'MEM[(struct Rooted * *)cx_64(D) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.cpp: In member function 'js::ModuleNamespaceObject::ProxyHandler::ownPropertyKeys(JSContext*, JS::Handle, JS::AutoVectorRooter&) const': src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.cpp:505:23: note: 'exports' declared here 505 | RootedArrayObject exports(cx, &ns->exports()); | ^~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.cpp:501:65: note: 'cx' declared here 501 | ModuleNamespaceObject::ProxyHandler::ownPropertyKeys(JSContext* cx, HandleObject proxy, | ~~~~~~~~~~~^~ 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_50(D) + 12B]' [-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:341:29: note: 'cx' declared here 341 | js::obj_toString(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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) + 12B]' [-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:111:25: note: 'cx' declared here 111 | obj_toSource(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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 * *)_21 + 12B]' [-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.h:311:62: note: 'this' declared here 311 | ArrayObject* createArray(const TraceableVector& vector); | ^ 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 * *)_21 + 12B]' [-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.h:311:62: note: 'this' declared here 311 | ArrayObject* createArray(const TraceableVector& vector); | ^ 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 * *)_21 + 12B]' [-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.h:311:62: note: 'this' declared here 311 | ArrayObject* createArray(const TraceableVector& vector); | ^ 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_131(D) + 12B]' [-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:1077:34: note: 'cx' declared here 1077 | FinishObjectClassInit(JSContext* cx, JS::HandleObject ctor, JS::HandleObject proto) | ~~~~~~~~~~~^~ 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_42(D) + 12B]' [-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:158:47: note: 'cx' declared here 158 | GlobalObject::initExportEntryProto(JSContext* cx, Handle global) | ~~~~~~~~~~~^~ 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_42(D) + 12B]' [-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:93:47: note: 'cx' declared here 93 | GlobalObject::initImportEntryProto(JSContext* cx, Handle global) | ~~~~~~~~~~~^~ 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_42(D) + 12B]' [-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:851:42: note: 'cx' declared here 851 | GlobalObject::initModuleProto(JSContext* cx, Handle global) | ~~~~~~~~~~~^~ 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_123(D) + 12B]' [-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:772:58: note: 'cx' declared here 772 | ModuleObject::instantiateFunctionDeclarations(JSContext* cx, HandleModuleObject self) | ~~~~~~~~~~~^~ 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) + 12B]' [-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:476:41: note: 'cx' declared here 476 | GlobalObject::initSimdObject(JSContext* cx, Handle global) | ~~~~~~~~~~~^~ 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) + 12B]' [-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:1203:38: note: 'cx' declared here 1203 | js::simd_float32x4_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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) + 12B]' [-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:1239:36: note: 'cx' declared here 1239 | js::simd_int32x4_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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) + 12B]' [-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:546:27: note: 'cx' declared here 546 | js::CreateSimd(JSContext* cx, const typename V::Elem* data) | ~~~~~~~~~~~^~ 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 'ReplaceLane(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:809:26, inlined from 'js::simd_int32x4_replaceLane(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_int32x4_replaceLane(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:1239:36: note: 'cx' declared here 1239 | js::simd_int32x4_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'FuncSplat(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:1038:29, inlined from 'js::simd_int32x4_splat(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_int32x4_splat(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:1239:36: note: 'cx' declared here 1239 | js::simd_int32x4_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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) + 12B]' [-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:1239:36: note: 'cx' declared here 1239 | js::simd_int32x4_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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) + 12B]' [-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:1239:36: note: 'cx' declared here 1239 | js::simd_int32x4_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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) + 12B]' [-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:1239:36: note: 'cx' declared here 1239 | js::simd_int32x4_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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) + 12B]' [-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:1239:36: note: 'cx' declared here 1239 | js::simd_int32x4_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'CoercedUnaryFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:721:28, inlined from 'UnaryFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:750:46, inlined from 'js::simd_int32x4_check(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_int32x4_check(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:1239:36: note: 'cx' declared here 1239 | js::simd_int32x4_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'CoercedUnaryFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:721:28, inlined from 'UnaryFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:750:46, inlined from 'js::simd_int32x4_neg(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_int32x4_neg(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:1239:36: note: 'cx' declared here 1239 | js::simd_int32x4_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'CoercedUnaryFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:721:28, inlined from 'UnaryFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:750:46, inlined from 'js::simd_int32x4_not(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_int32x4_not(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:1239:36: note: 'cx' declared here 1239 | js::simd_int32x4_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'BinaryScalar(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:894:26, inlined from 'js::simd_int32x4_shiftRightArithmeticByScalar(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_int32x4_shiftRightArithmeticByScalar(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:1239:36: note: 'cx' declared here 1239 | js::simd_int32x4_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'BinaryScalar(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:894:26, inlined from 'js::simd_int32x4_shiftRightLogicalByScalar(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_int32x4_shiftRightLogicalByScalar(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:1239:36: note: 'cx' declared here 1239 | js::simd_int32x4_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'BinaryScalar(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:894:26, inlined from 'js::simd_int32x4_shiftLeftByScalar(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_int32x4_shiftLeftByScalar(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:1239:36: note: 'cx' declared here 1239 | js::simd_int32x4_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'Swizzle(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:838:26, inlined from 'js::simd_int32x4_swizzle(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_int32x4_swizzle(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:1239:36: note: 'cx' declared here 1239 | js::simd_int32x4_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'FuncConvert(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:1002:29, inlined from 'js::simd_int32x4_fromFloat64x2(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_int32x4_fromFloat64x2(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:1239:36: note: 'cx' declared here 1239 | js::simd_int32x4_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'FuncConvert(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:1002:29, inlined from 'js::simd_int32x4_fromFloat32x4(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_int32x4_fromFloat32x4(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:1239:36: note: 'cx' declared here 1239 | js::simd_int32x4_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'CoercedBinaryFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:742:28, inlined from 'BinaryFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:757:47, inlined from 'js::simd_int32x4_or(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_int32x4_or(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:1239:36: note: 'cx' declared here 1239 | js::simd_int32x4_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'CoercedBinaryFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:742:28, inlined from 'BinaryFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:757:47, inlined from 'js::simd_int32x4_sub(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_int32x4_sub(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:1239:36: note: 'cx' declared here 1239 | js::simd_int32x4_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'CoercedBinaryFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:742:28, inlined from 'BinaryFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:757:47, inlined from 'js::simd_int32x4_xor(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_int32x4_xor(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:1239:36: note: 'cx' declared here 1239 | js::simd_int32x4_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'CoercedBinaryFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:742:28, inlined from 'BinaryFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:757:47, inlined from 'js::simd_int32x4_mul(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_int32x4_mul(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:1239:36: note: 'cx' declared here 1239 | js::simd_int32x4_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'CoercedBinaryFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:742:28, inlined from 'BinaryFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:757:47, inlined from 'js::simd_int32x4_add(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_int32x4_add(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:1239:36: note: 'cx' declared here 1239 | js::simd_int32x4_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'CoercedBinaryFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:742:28, inlined from 'BinaryFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:757:47, inlined from 'js::simd_int32x4_and(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_int32x4_and(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:1239:36: note: 'cx' declared here 1239 | js::simd_int32x4_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'CompareFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:916:28, inlined from 'js::simd_float32x4_lessThan(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_float32x4_lessThan(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:1203:38: note: 'cx' declared here 1203 | js::simd_float32x4_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'CompareFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:916:28, inlined from 'js::simd_int32x4_greaterThan(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_int32x4_greaterThan(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:1239:36: note: 'cx' declared here 1239 | js::simd_int32x4_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'CompareFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:916:28, inlined from 'js::simd_int32x4_greaterThanOrEqual(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_int32x4_greaterThanOrEqual(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:1239:36: note: 'cx' declared here 1239 | js::simd_int32x4_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'CompareFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:916:28, inlined from 'js::simd_int32x4_notEqual(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_int32x4_notEqual(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:1239:36: note: 'cx' declared here 1239 | js::simd_int32x4_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'CompareFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:916:28, inlined from 'js::simd_int32x4_lessThan(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_int32x4_lessThan(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:1239:36: note: 'cx' declared here 1239 | js::simd_int32x4_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'CompareFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:916:28, inlined from 'js::simd_float32x4_notEqual(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_float32x4_notEqual(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:1203:38: note: 'cx' declared here 1203 | js::simd_float32x4_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'CompareFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:916:28, inlined from 'js::simd_float32x4_greaterThanOrEqual(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_float32x4_greaterThanOrEqual(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:1203:38: note: 'cx' declared here 1203 | js::simd_float32x4_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'CompareFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:916:28, inlined from 'js::simd_int32x4_lessThanOrEqual(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_int32x4_lessThanOrEqual(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:1239:36: note: 'cx' declared here 1239 | js::simd_int32x4_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'CompareFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:916:28, inlined from 'js::simd_float32x4_greaterThan(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_float32x4_greaterThan(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:1203:38: note: 'cx' declared here 1203 | js::simd_float32x4_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'CompareFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:916:28, inlined from 'js::simd_int32x4_equal(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_int32x4_equal(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:1239:36: note: 'cx' declared here 1239 | js::simd_int32x4_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'CompareFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:916:28, inlined from 'js::simd_float32x4_equal(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_float32x4_equal(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:1203:38: note: 'cx' declared here 1203 | js::simd_float32x4_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'CompareFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:916:28, inlined from 'js::simd_float32x4_lessThanOrEqual(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_float32x4_lessThanOrEqual(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:1203:38: note: 'cx' declared here 1203 | js::simd_float32x4_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'CompareFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:916:28, inlined from 'js::simd_float64x2_lessThan(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_float64x2_lessThan(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:1212:38: note: 'cx' declared here 1212 | js::simd_float64x2_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'CompareFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:916:28, inlined from 'js::simd_float64x2_greaterThanOrEqual(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_float64x2_greaterThanOrEqual(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:1212:38: note: 'cx' declared here 1212 | js::simd_float64x2_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'CompareFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:916:28, inlined from 'js::simd_float64x2_greaterThan(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_float64x2_greaterThan(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:1212:38: note: 'cx' declared here 1212 | js::simd_float64x2_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'CompareFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:916:28, inlined from 'js::simd_float64x2_lessThanOrEqual(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_float64x2_lessThanOrEqual(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:1212:38: note: 'cx' declared here 1212 | js::simd_float64x2_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'CompareFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:916:28, inlined from 'js::simd_float64x2_notEqual(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_float64x2_notEqual(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:1212:38: note: 'cx' declared here 1212 | js::simd_float64x2_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'CompareFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:916:28, inlined from 'js::simd_float64x2_equal(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_float64x2_equal(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:1212:38: note: 'cx' declared here 1212 | js::simd_float64x2_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'Shuffle(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:870:26, inlined from 'js::simd_int32x4_shuffle(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_int32x4_shuffle(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:1239:36: note: 'cx' declared here 1239 | js::simd_int32x4_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'Select(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:1111:26, inlined from 'js::simd_int32x4_select(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_int32x4_select(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:1239:36: note: 'cx' declared here 1239 | js::simd_int32x4_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'SelectBits(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:1086:26, inlined from 'js::simd_int32x4_selectBits(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_int32x4_selectBits(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:1239:36: note: 'cx' declared here 1239 | js::simd_int32x4_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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) + 12B]' [-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:546:27: note: 'cx' declared here 546 | js::CreateSimd(JSContext* cx, const typename V::Elem* data) | ~~~~~~~~~~~^~ 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 'ReplaceLane(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:809:26, inlined from 'js::simd_int8x16_replaceLane(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_int8x16_replaceLane(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:1221:36: note: 'cx' declared here 1221 | js::simd_int8x16_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'FuncSplat(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:1038:29, inlined from 'js::simd_int8x16_splat(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_int8x16_splat(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:1221:36: note: 'cx' declared here 1221 | js::simd_int8x16_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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) + 12B]' [-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:1221:36: note: 'cx' declared here 1221 | js::simd_int8x16_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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) + 12B]' [-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:1221:36: note: 'cx' declared here 1221 | js::simd_int8x16_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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) + 12B]' [-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:1221:36: note: 'cx' declared here 1221 | js::simd_int8x16_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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) + 12B]' [-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:1221:36: note: 'cx' declared here 1221 | js::simd_int8x16_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'CoercedUnaryFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:721:28, inlined from 'UnaryFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:750:46, inlined from 'js::simd_int8x16_check(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_int8x16_check(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:1221:36: note: 'cx' declared here 1221 | js::simd_int8x16_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'CoercedUnaryFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:721:28, inlined from 'UnaryFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:750:46, inlined from 'js::simd_int8x16_not(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_int8x16_not(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:1221:36: note: 'cx' declared here 1221 | js::simd_int8x16_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'CoercedUnaryFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:721:28, inlined from 'UnaryFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:750:46, inlined from 'js::simd_int8x16_neg(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_int8x16_neg(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:1221:36: note: 'cx' declared here 1221 | js::simd_int8x16_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'BinaryScalar(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:894:26, inlined from 'js::simd_int8x16_shiftRightArithmeticByScalar(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_int8x16_shiftRightArithmeticByScalar(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:1221:36: note: 'cx' declared here 1221 | js::simd_int8x16_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'BinaryScalar(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:894:26, inlined from 'js::simd_int8x16_shiftRightLogicalByScalar(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_int8x16_shiftRightLogicalByScalar(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:1221:36: note: 'cx' declared here 1221 | js::simd_int8x16_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'BinaryScalar(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:894:26, inlined from 'js::simd_int8x16_shiftLeftByScalar(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_int8x16_shiftLeftByScalar(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:1221:36: note: 'cx' declared here 1221 | js::simd_int8x16_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'CoercedBinaryFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:742:28, inlined from 'BinaryFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:757:47, inlined from 'js::simd_int8x16_xor(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_int8x16_xor(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:1221:36: note: 'cx' declared here 1221 | js::simd_int8x16_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'CoercedBinaryFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:742:28, inlined from 'BinaryFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:757:47, inlined from 'js::simd_int8x16_mul(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_int8x16_mul(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:1221:36: note: 'cx' declared here 1221 | js::simd_int8x16_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'CoercedBinaryFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:742:28, inlined from 'BinaryFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:757:47, inlined from 'js::simd_int8x16_add(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_int8x16_add(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:1221:36: note: 'cx' declared here 1221 | js::simd_int8x16_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'CoercedBinaryFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:742:28, inlined from 'BinaryFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:757:47, inlined from 'js::simd_int8x16_sub(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_int8x16_sub(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:1221:36: note: 'cx' declared here 1221 | js::simd_int8x16_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'CoercedBinaryFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:742:28, inlined from 'BinaryFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:757:47, inlined from 'js::simd_int8x16_and(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_int8x16_and(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:1221:36: note: 'cx' declared here 1221 | js::simd_int8x16_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'CoercedBinaryFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:742:28, inlined from 'BinaryFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:757:47, inlined from 'js::simd_int8x16_or(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_int8x16_or(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:1221:36: note: 'cx' declared here 1221 | js::simd_int8x16_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'Swizzle(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:838:26, inlined from 'js::simd_int8x16_swizzle(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_int8x16_swizzle(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:1221:36: note: 'cx' declared here 1221 | js::simd_int8x16_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'CompareFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:916:28, inlined from 'js::simd_int8x16_notEqual(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_int8x16_notEqual(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:1221:36: note: 'cx' declared here 1221 | js::simd_int8x16_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'CompareFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:916:28, inlined from 'js::simd_int8x16_equal(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_int8x16_equal(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:1221:36: note: 'cx' declared here 1221 | js::simd_int8x16_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'CompareFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:916:28, inlined from 'js::simd_int8x16_greaterThan(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_int8x16_greaterThan(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:1221:36: note: 'cx' declared here 1221 | js::simd_int8x16_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'CompareFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:916:28, inlined from 'js::simd_int8x16_greaterThanOrEqual(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_int8x16_greaterThanOrEqual(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:1221:36: note: 'cx' declared here 1221 | js::simd_int8x16_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'CompareFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:916:28, inlined from 'js::simd_int8x16_lessThan(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_int8x16_lessThan(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:1221:36: note: 'cx' declared here 1221 | js::simd_int8x16_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'CompareFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:916:28, inlined from 'js::simd_int8x16_lessThanOrEqual(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_int8x16_lessThanOrEqual(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:1221:36: note: 'cx' declared here 1221 | js::simd_int8x16_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'Shuffle(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:870:26, inlined from 'js::simd_int8x16_shuffle(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_int8x16_shuffle(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:1221:36: note: 'cx' declared here 1221 | js::simd_int8x16_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'Select(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:1111:26, inlined from 'js::simd_int8x16_select(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_int8x16_select(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:1221:36: note: 'cx' declared here 1221 | js::simd_int8x16_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'SelectBits(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:1086:26, inlined from 'js::simd_int8x16_selectBits(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_int8x16_selectBits(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:1221:36: note: 'cx' declared here 1221 | js::simd_int8x16_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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) + 12B]' [-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:546:27: note: 'cx' declared here 546 | js::CreateSimd(JSContext* cx, const typename V::Elem* data) | ~~~~~~~~~~~^~ 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 'ReplaceLane(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:809:26, inlined from 'js::simd_int16x8_replaceLane(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_int16x8_replaceLane(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:1230:36: note: 'cx' declared here 1230 | js::simd_int16x8_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'FuncSplat(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:1038:29, inlined from 'js::simd_int16x8_splat(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_int16x8_splat(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:1230:36: note: 'cx' declared here 1230 | js::simd_int16x8_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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) + 12B]' [-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:1230:36: note: 'cx' declared here 1230 | js::simd_int16x8_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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) + 12B]' [-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:1230:36: note: 'cx' declared here 1230 | js::simd_int16x8_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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) + 12B]' [-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:1230:36: note: 'cx' declared here 1230 | js::simd_int16x8_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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) + 12B]' [-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:1230:36: note: 'cx' declared here 1230 | js::simd_int16x8_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'CoercedUnaryFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:721:28, inlined from 'UnaryFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:750:46, inlined from 'js::simd_int16x8_check(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_int16x8_check(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:1230:36: note: 'cx' declared here 1230 | js::simd_int16x8_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'CoercedUnaryFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:721:28, inlined from 'UnaryFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:750:46, inlined from 'js::simd_int16x8_neg(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_int16x8_neg(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:1230:36: note: 'cx' declared here 1230 | js::simd_int16x8_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'CoercedUnaryFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:721:28, inlined from 'UnaryFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:750:46, inlined from 'js::simd_int16x8_not(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_int16x8_not(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:1230:36: note: 'cx' declared here 1230 | js::simd_int16x8_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'BinaryScalar(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:894:26, inlined from 'js::simd_int16x8_shiftRightArithmeticByScalar(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_int16x8_shiftRightArithmeticByScalar(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:1230:36: note: 'cx' declared here 1230 | js::simd_int16x8_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'BinaryScalar(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:894:26, inlined from 'js::simd_int16x8_shiftLeftByScalar(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_int16x8_shiftLeftByScalar(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:1230:36: note: 'cx' declared here 1230 | js::simd_int16x8_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'BinaryScalar(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:894:26, inlined from 'js::simd_int16x8_shiftRightLogicalByScalar(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_int16x8_shiftRightLogicalByScalar(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:1230:36: note: 'cx' declared here 1230 | js::simd_int16x8_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'Swizzle(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:838:26, inlined from 'js::simd_int16x8_swizzle(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_int16x8_swizzle(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:1230:36: note: 'cx' declared here 1230 | js::simd_int16x8_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'CoercedBinaryFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:742:28, inlined from 'BinaryFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:757:47, inlined from 'js::simd_int16x8_sub(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_int16x8_sub(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:1230:36: note: 'cx' declared here 1230 | js::simd_int16x8_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'CoercedBinaryFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:742:28, inlined from 'BinaryFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:757:47, inlined from 'js::simd_int16x8_and(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_int16x8_and(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:1230:36: note: 'cx' declared here 1230 | js::simd_int16x8_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'CoercedBinaryFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:742:28, inlined from 'BinaryFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:757:47, inlined from 'js::simd_int16x8_xor(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_int16x8_xor(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:1230:36: note: 'cx' declared here 1230 | js::simd_int16x8_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'CoercedBinaryFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:742:28, inlined from 'BinaryFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:757:47, inlined from 'js::simd_int16x8_or(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_int16x8_or(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:1230:36: note: 'cx' declared here 1230 | js::simd_int16x8_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'CoercedBinaryFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:742:28, inlined from 'BinaryFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:757:47, inlined from 'js::simd_int16x8_add(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_int16x8_add(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:1230:36: note: 'cx' declared here 1230 | js::simd_int16x8_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'CoercedBinaryFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:742:28, inlined from 'BinaryFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:757:47, inlined from 'js::simd_int16x8_mul(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_int16x8_mul(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:1230:36: note: 'cx' declared here 1230 | js::simd_int16x8_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'CompareFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:916:28, inlined from 'js::simd_int16x8_lessThanOrEqual(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_int16x8_lessThanOrEqual(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:1230:36: note: 'cx' declared here 1230 | js::simd_int16x8_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'CompareFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:916:28, inlined from 'js::simd_int16x8_greaterThan(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_int16x8_greaterThan(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:1230:36: note: 'cx' declared here 1230 | js::simd_int16x8_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'CompareFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:916:28, inlined from 'js::simd_int16x8_notEqual(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_int16x8_notEqual(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:1230:36: note: 'cx' declared here 1230 | js::simd_int16x8_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'CompareFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:916:28, inlined from 'js::simd_int16x8_greaterThanOrEqual(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_int16x8_greaterThanOrEqual(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:1230:36: note: 'cx' declared here 1230 | js::simd_int16x8_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'CompareFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:916:28, inlined from 'js::simd_int16x8_equal(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_int16x8_equal(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:1230:36: note: 'cx' declared here 1230 | js::simd_int16x8_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'CompareFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:916:28, inlined from 'js::simd_int16x8_lessThan(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_int16x8_lessThan(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:1230:36: note: 'cx' declared here 1230 | js::simd_int16x8_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'Shuffle(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:870:26, inlined from 'js::simd_int16x8_shuffle(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_int16x8_shuffle(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:1230:36: note: 'cx' declared here 1230 | js::simd_int16x8_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'Select(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:1111:26, inlined from 'js::simd_int16x8_select(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_int16x8_select(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:1230:36: note: 'cx' declared here 1230 | js::simd_int16x8_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'SelectBits(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:1086:26, inlined from 'js::simd_int16x8_selectBits(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_int16x8_selectBits(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:1230:36: note: 'cx' declared here 1230 | js::simd_int16x8_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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) + 12B]' [-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:546:27: note: 'cx' declared here 546 | js::CreateSimd(JSContext* cx, const typename V::Elem* data) | ~~~~~~~~~~~^~ 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 'ReplaceLane(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:809:26, inlined from 'js::simd_float32x4_replaceLane(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_float32x4_replaceLane(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:1203:38: note: 'cx' declared here 1203 | js::simd_float32x4_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'FuncSplat(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:1038:29, inlined from 'js::simd_float32x4_splat(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_float32x4_splat(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:1203:38: note: 'cx' declared here 1203 | js::simd_float32x4_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:1203:38: note: 'cx' declared here 1203 | js::simd_float32x4_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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) + 12B]' [-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:1203:38: note: 'cx' declared here 1203 | js::simd_float32x4_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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) + 12B]' [-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:1203:38: note: 'cx' declared here 1203 | js::simd_float32x4_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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) + 12B]' [-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:1203:38: note: 'cx' declared here 1203 | js::simd_float32x4_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'CoercedUnaryFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:721:28, inlined from 'UnaryFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:750:46, inlined from 'js::simd_float32x4_check(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_float32x4_check(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:1203:38: note: 'cx' declared here 1203 | js::simd_float32x4_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'CoercedUnaryFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:721:28, inlined from 'js::simd_float32x4_not(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_float32x4_not(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:1203:38: note: 'cx' declared here 1203 | js::simd_float32x4_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'CoercedUnaryFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:721:28, inlined from 'UnaryFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:750:46, inlined from 'js::simd_float32x4_neg(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_float32x4_neg(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:1203:38: note: 'cx' declared here 1203 | js::simd_float32x4_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'CoercedUnaryFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:721:28, inlined from 'UnaryFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:750:46, inlined from 'js::simd_float32x4_reciprocalApproximation(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_float32x4_reciprocalApproximation(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:1203:38: note: 'cx' declared here 1203 | js::simd_float32x4_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'FuncConvert(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:1002:29, inlined from 'js::simd_float32x4_fromInt32x4(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_float32x4_fromInt32x4(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:1203:38: note: 'cx' declared here 1203 | js::simd_float32x4_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'CoercedUnaryFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:721:28, inlined from 'UnaryFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:750:46, inlined from 'js::simd_float32x4_abs(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_float32x4_abs(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:1203:38: note: 'cx' declared here 1203 | js::simd_float32x4_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'CoercedUnaryFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:721:28, inlined from 'UnaryFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:750:46, inlined from 'js::simd_float32x4_sqrt(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_float32x4_sqrt(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:1203:38: note: 'cx' declared here 1203 | js::simd_float32x4_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'CoercedUnaryFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:721:28, inlined from 'UnaryFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:750:46, inlined from 'js::simd_float32x4_reciprocalSqrtApproximation(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_float32x4_reciprocalSqrtApproximation(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:1203:38: note: 'cx' declared here 1203 | js::simd_float32x4_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'FuncConvert(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:1002:29, inlined from 'js::simd_float32x4_fromFloat64x2(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_float32x4_fromFloat64x2(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:1203:38: note: 'cx' declared here 1203 | js::simd_float32x4_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'Swizzle(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:838:26, inlined from 'js::simd_float32x4_swizzle(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_float32x4_swizzle(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:1203:38: note: 'cx' declared here 1203 | js::simd_float32x4_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'CoercedBinaryFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:742:28, inlined from 'BinaryFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:757:47, inlined from 'js::simd_float32x4_sub(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_float32x4_sub(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:1203:38: note: 'cx' declared here 1203 | js::simd_float32x4_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'CoercedBinaryFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:742:28, inlined from 'js::simd_float32x4_or(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_float32x4_or(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:1203:38: note: 'cx' declared here 1203 | js::simd_float32x4_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'CoercedBinaryFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:742:28, inlined from 'BinaryFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:757:47, inlined from 'js::simd_float32x4_add(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_float32x4_add(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:1203:38: note: 'cx' declared here 1203 | js::simd_float32x4_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'CoercedBinaryFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:742:28, inlined from 'js::simd_float32x4_and(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_float32x4_and(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:1203:38: note: 'cx' declared here 1203 | js::simd_float32x4_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'CoercedBinaryFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:742:28, inlined from 'js::simd_float32x4_xor(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_float32x4_xor(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:1203:38: note: 'cx' declared here 1203 | js::simd_float32x4_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'CoercedBinaryFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:742:28, inlined from 'BinaryFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:757:47, inlined from 'js::simd_float32x4_div(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_float32x4_div(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:1203:38: note: 'cx' declared here 1203 | js::simd_float32x4_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'CoercedBinaryFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:742:28, inlined from 'BinaryFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:757:47, inlined from 'js::simd_float32x4_mul(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_float32x4_mul(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:1203:38: note: 'cx' declared here 1203 | js::simd_float32x4_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'CoercedBinaryFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:742:28, inlined from 'BinaryFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:757:47, inlined from 'js::simd_float32x4_max(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_float32x4_max(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:1203:38: note: 'cx' declared here 1203 | js::simd_float32x4_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'CoercedBinaryFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:742:28, inlined from 'BinaryFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:757:47, inlined from 'js::simd_float32x4_min(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_float32x4_min(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:1203:38: note: 'cx' declared here 1203 | js::simd_float32x4_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'CoercedBinaryFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:742:28, inlined from 'BinaryFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:757:47, inlined from 'js::simd_float32x4_minNum(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_float32x4_minNum(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:1203:38: note: 'cx' declared here 1203 | js::simd_float32x4_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'CoercedBinaryFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:742:28, inlined from 'BinaryFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:757:47, inlined from 'js::simd_float32x4_maxNum(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_float32x4_maxNum(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:1203:38: note: 'cx' declared here 1203 | js::simd_float32x4_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'Shuffle(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:870:26, inlined from 'js::simd_float32x4_shuffle(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_float32x4_shuffle(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:1203:38: note: 'cx' declared here 1203 | js::simd_float32x4_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'Select(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:1111:26, inlined from 'js::simd_float32x4_select(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_float32x4_select(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:1203:38: note: 'cx' declared here 1203 | js::simd_float32x4_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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) + 12B]' [-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:546:27: note: 'cx' declared here 546 | js::CreateSimd(JSContext* cx, const typename V::Elem* data) | ~~~~~~~~~~~^~ 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 'ReplaceLane(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:809:26, inlined from 'js::simd_float64x2_replaceLane(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_float64x2_replaceLane(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:1212:38: note: 'cx' declared here 1212 | js::simd_float64x2_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'FuncSplat(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:1038:29, inlined from 'js::simd_float64x2_splat(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_float64x2_splat(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:1212:38: note: 'cx' declared here 1212 | js::simd_float64x2_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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) + 12B]' [-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:1212:38: note: 'cx' declared here 1212 | js::simd_float64x2_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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) + 12B]' [-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:1212:38: note: 'cx' declared here 1212 | js::simd_float64x2_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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) + 12B]' [-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:1212:38: note: 'cx' declared here 1212 | js::simd_float64x2_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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) + 12B]' [-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:1212:38: note: 'cx' declared here 1212 | js::simd_float64x2_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'CoercedUnaryFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:721:28, inlined from 'UnaryFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:750:46, inlined from 'js::simd_float64x2_check(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_float64x2_check(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:1212:38: note: 'cx' declared here 1212 | js::simd_float64x2_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'FuncConvert(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:1002:29, inlined from 'js::simd_float64x2_fromFloat32x4(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_float64x2_fromFloat32x4(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:1212:38: note: 'cx' declared here 1212 | js::simd_float64x2_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'CoercedUnaryFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:721:28, inlined from 'UnaryFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:750:46, inlined from 'js::simd_float64x2_neg(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_float64x2_neg(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:1212:38: note: 'cx' declared here 1212 | js::simd_float64x2_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'CoercedUnaryFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:721:28, inlined from 'UnaryFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:750:46, inlined from 'js::simd_float64x2_reciprocalApproximation(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_float64x2_reciprocalApproximation(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:1212:38: note: 'cx' declared here 1212 | js::simd_float64x2_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'CoercedUnaryFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:721:28, inlined from 'UnaryFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:750:46, inlined from 'js::simd_float64x2_abs(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_float64x2_abs(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:1212:38: note: 'cx' declared here 1212 | js::simd_float64x2_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'FuncConvert(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:1002:29, inlined from 'js::simd_float64x2_fromInt32x4(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_float64x2_fromInt32x4(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:1212:38: note: 'cx' declared here 1212 | js::simd_float64x2_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'CoercedUnaryFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:721:28, inlined from 'UnaryFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:750:46, inlined from 'js::simd_float64x2_sqrt(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_float64x2_sqrt(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:1212:38: note: 'cx' declared here 1212 | js::simd_float64x2_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'CoercedUnaryFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:721:28, inlined from 'UnaryFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:750:46, inlined from 'js::simd_float64x2_reciprocalSqrtApproximation(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_float64x2_reciprocalSqrtApproximation(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:1212:38: note: 'cx' declared here 1212 | js::simd_float64x2_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'Swizzle(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:838:26, inlined from 'js::simd_float64x2_swizzle(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_float64x2_swizzle(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:1212:38: note: 'cx' declared here 1212 | js::simd_float64x2_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'CoercedBinaryFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:742:28, inlined from 'BinaryFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:757:47, inlined from 'js::simd_float64x2_sub(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_float64x2_sub(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:1212:38: note: 'cx' declared here 1212 | js::simd_float64x2_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'CoercedBinaryFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:742:28, inlined from 'BinaryFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:757:47, inlined from 'js::simd_float64x2_add(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_float64x2_add(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:1212:38: note: 'cx' declared here 1212 | js::simd_float64x2_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'CoercedBinaryFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:742:28, inlined from 'BinaryFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:757:47, inlined from 'js::simd_float64x2_div(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_float64x2_div(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:1212:38: note: 'cx' declared here 1212 | js::simd_float64x2_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'CoercedBinaryFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:742:28, inlined from 'BinaryFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:757:47, inlined from 'js::simd_float64x2_mul(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_float64x2_mul(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:1212:38: note: 'cx' declared here 1212 | js::simd_float64x2_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'CoercedBinaryFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:742:28, inlined from 'BinaryFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:757:47, inlined from 'js::simd_float64x2_min(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_float64x2_min(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:1212:38: note: 'cx' declared here 1212 | js::simd_float64x2_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'CoercedBinaryFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:742:28, inlined from 'BinaryFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:757:47, inlined from 'js::simd_float64x2_max(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_float64x2_max(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:1212:38: note: 'cx' declared here 1212 | js::simd_float64x2_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'Shuffle(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:870:26, inlined from 'js::simd_float64x2_shuffle(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_float64x2_shuffle(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:1212:38: note: 'cx' declared here 1212 | js::simd_float64x2_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'CoercedBinaryFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:742:28, inlined from 'BinaryFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:757:47, inlined from 'js::simd_float64x2_maxNum(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_float64x2_maxNum(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:1212:38: note: 'cx' declared here 1212 | js::simd_float64x2_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'CoercedBinaryFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:742:28, inlined from 'BinaryFunc(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:757:47, inlined from 'js::simd_float64x2_minNum(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_float64x2_minNum(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:1212:38: note: 'cx' declared here 1212 | js::simd_float64x2_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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 'Select(JSContext*, unsigned int, JS::Value*)bool' at src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp:1111:26, inlined from 'js::simd_float64x2_select(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) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/builtin/SIMD.cpp: In function 'js::simd_float64x2_select(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:1212:38: note: 'cx' declared here 1212 | js::simd_float64x2_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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_47(D) + 12B]' [-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:104:31: note: 'cx' declared here 104 | js::ToSimdConstant(JSContext* cx, HandleValue v, jit::SimdConstant* out) | ~~~~~~~~~~~^~ 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_47(D) + 12B]' [-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:104:31: note: 'cx' declared here 104 | js::ToSimdConstant(JSContext* cx, HandleValue v, jit::SimdConstant* out) | ~~~~~~~~~~~^~ 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) + 12B]' [-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:1230:36: note: 'cx' declared here 1230 | js::simd_int16x8_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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) + 12B]' [-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:1212:38: note: 'cx' declared here 1212 | js::simd_float64x2_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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) + 12B]' [-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:1212:38: note: 'cx' declared here 1212 | js::simd_float64x2_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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) + 12B]' [-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:1221:36: note: 'cx' declared here 1221 | js::simd_int8x16_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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) + 12B]' [-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:1239:36: note: 'cx' declared here 1239 | js::simd_int32x4_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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) + 12B]' [-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:1203:38: note: 'cx' declared here 1203 | js::simd_float32x4_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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) + 12B]' [-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:1203:38: note: 'cx' declared here 1203 | js::simd_float32x4_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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) + 12B]' [-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:1239:36: note: 'cx' declared here 1239 | js::simd_int32x4_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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) + 12B]' [-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:1203:38: note: 'cx' declared here 1203 | js::simd_float32x4_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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) + 12B]' [-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:1239:36: note: 'cx' declared here 1239 | js::simd_int32x4_##Name(JSContext* cx, unsigned argc, Value* vp) \ | ~~~~~~~~~~~^~ 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_88(D) + 12B]' [-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:400:28: note: 'cx' declared here 400 | js::InitReflect(JSContext* cx, HandleObject obj) | ~~~~~~~~~~~^~ 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_94(D) + 12B]' [-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:114:38: note: 'cx' declared here 114 | ImportEntryObject::create(JSContext* cx, | ~~~~~~~~~~~^~ 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_111(D) + 12B]' [-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:186:38: note: 'cx' declared here 186 | ExportEntryObject::create(JSContext* cx, | ~~~~~~~~~~~^~ 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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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::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_67(D) + 12B]' [-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:821:42: note: 'cx' declared here 821 | ModuleObject::createNamespace(JSContext* cx, HandleModuleObject self, HandleArrayObject exports) | ~~~~~~~~~~~^~ 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_119(D) + 12B]' [-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:573:40: note: 'cx' declared here 573 | ModuleObject::create(ExclusiveContext* cx, HandleObject enclosingStaticScope) | ~~~~~~~~~~~~~~~~~~^~ 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_780(D) + 28B]' [-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:3593:26: note: 'cx' declared here 3593 | reflect_parse(JSContext* cx, uint32_t argc, Value* vp) | ~~~~~~~~~~~^~ 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_224(D) + 12B]' [-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:364:35: note: 'cx' declared here 364 | CreateAndBindSimdClass(JSContext* cx, Handle global, HandleObject globalSimdObject, | ~~~~~~~~~~~^~ 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_224(D) + 12B]' [-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:364:35: note: 'cx' declared here 364 | CreateAndBindSimdClass(JSContext* cx, Handle global, HandleObject globalSimdObject, | ~~~~~~~~~~~^~ 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_207(D) + 12B]' [-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:507:30: note: 'cx' declared here 507 | js::InitSIMDClass(JSContext* cx, HandleObject obj) | ~~~~~~~~~~~^~ 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/rpc/command_request.cpp In file included from /usr/include/string.h:535, from /usr/include/c++/13/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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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/i386/linux/include -Ibuild/fedora -Isrc src/mongo/scripting/mozjs/bindata.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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 /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:731: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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 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/client/libasync_client.a build/fedora/mongo/client/async_client.o Skipping ranlib for thin archive build/fedora/mongo/client/libasync_client.a 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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/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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/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/third_party/mozjs-45/platform/i386/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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/i386/linux/build -Isrc/third_party/mozjs-45/platform/i386/linux/build -Ibuild/fedora/third_party/mozjs-45/platform/i386/linux/include -Isrc/third_party/mozjs-45/platform/i386/linux/include src/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src8.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/i386/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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move 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/x86/MacroAssembler-x86.h:12, from src/third_party/mozjs-45/extract/js/src/jit/MacroAssembler.h:16, 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/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::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 { | ^~~~~ 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 { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::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_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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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/pipeline/value.h:33, from src/mongo/db/pipeline/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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_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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/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 { | ^~~~~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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/pipeline/value.h:33, from src/mongo/db/pipeline/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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_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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/pipeline/value.h:33, from src/mongo/db/pipeline/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/db/dbmain.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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/options_parser/option_section.h:29, from src/mongo/util/options_parser/startup_options.h:30, from src/mongo/db/auth/sasl_options.cpp:39: src/mongo/util/options_parser/option_description.h:190:24: warning: identifier 'requires' is a keyword in C++20 [-Wc++20-compat] 190 | OptionDescription& requires(const std::string& otherDottedName); | ^~~~~~~~ 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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move 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 /usr/include/c++/13/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:731: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:970:26, inlined from 'mongo::BoundServerParameter, std::allocator >, std::allocator, std::allocator > > > >::append(mongo::OperationContext*, mongo::BSONObjBuilder&, std::__cxx11::basic_string, std::allocator > const&)' at src/mongo/db/server_parameters.h:174:17: /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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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/i386/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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/i386/linux/build -Isrc/third_party/mozjs-45/platform/i386/linux/build -Ibuild/fedora/third_party/mozjs-45/platform/i386/linux/include -Isrc/third_party/mozjs-45/platform/i386/linux/include src/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src26.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/third_party/mozjs-45/extract/js/src/vm/ProxyObject.h:11, from src/third_party/mozjs-45/extract/js/src/proxy/BaseProxyHandler.cpp:8, from src/third_party/mozjs-45/platform/i386/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/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 file included from src/third_party/mozjs-45/extract/js/src/proxy/BaseProxyHandler.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/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/BaseProxyHandler.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 = 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/jscntxtinlines.h:10, from src/third_party/mozjs-45/extract/js/src/proxy/BaseProxyHandler.cpp:10: 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: 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::MutableHandle&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'JSCompartment::wrap(JSContext*, JS::MutableHandle, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/jscompartmentinlines.h:106:29: 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) + 52B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:29: src/third_party/mozjs-45/extract/js/src/jscompartmentinlines.h: In member function 'JSCompartment::wrap(JSContext*, JS::MutableHandle, JS::Handle)': src/third_party/mozjs-45/extract/js/src/jscompartmentinlines.h:106:21: note: 'v' declared here 106 | JS::RootedValue v(cx, vp); | ^ src/third_party/mozjs-45/extract/js/src/jscompartmentinlines.h:57:32: note: 'cx' declared here 57 | JSCompartment::wrap(JSContext* cx, JS::MutableHandleValue vp, JS::HandleObject existing) | ~~~~~~~~~~~^~ 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::DirectProxyHandler::getPrototype(JSContext*, JS::Handle, JS::MutableHandle) const' at src/third_party/mozjs-45/extract/js/src/proxy/DirectProxyHandler.cpp:123: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_28(D) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src26.cpp:29: src/third_party/mozjs-45/extract/js/src/proxy/DirectProxyHandler.cpp: In member function 'js::DirectProxyHandler::getPrototype(JSContext*, JS::Handle, JS::MutableHandle) const': src/third_party/mozjs-45/extract/js/src/proxy/DirectProxyHandler.cpp:123:18: note: 'target' declared here 123 | RootedObject target(cx, proxy->as().target()); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/proxy/DirectProxyHandler.cpp:121:45: note: 'cx' declared here 121 | DirectProxyHandler::getPrototype(JSContext* cx, HandleObject proxy, MutableHandleObject protop) 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::BaseProxyHandler::getPropertyDescriptor(JSContext*, JS::Handle, JS::Handle, JS::MutableHandle) const' at src/third_party/mozjs-45/extract/js/src/proxy/BaseProxyHandler.cpp:47:26: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'proto' in 'MEM[(struct Rooted * *)cx_44(D) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/proxy/BaseProxyHandler.cpp: In member function 'js::BaseProxyHandler::getPropertyDescriptor(JSContext*, JS::Handle, JS::Handle, JS::MutableHandle) const': src/third_party/mozjs-45/extract/js/src/proxy/BaseProxyHandler.cpp:47:18: note: 'proto' declared here 47 | RootedObject proto(cx); | ^~~~~ src/third_party/mozjs-45/extract/js/src/proxy/BaseProxyHandler.cpp:37:52: note: 'cx' declared here 37 | BaseProxyHandler::getPropertyDescriptor(JSContext* cx, HandleObject proxy, HandleId id, | ~~~~~~~~~~~^~ 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::SetPropertyIgnoringNamedGetter(JSContext*, JS::Handle, JS::Handle, JS::Handle, JS::Handle, JS::Handle, JS::ObjectOpResult&)' at src/third_party/mozjs-45/extract/js/src/proxy/BaseProxyHandler.cpp:132:30: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'proto' in 'MEM[(struct Rooted * *)cx_246(D) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/proxy/BaseProxyHandler.cpp: In function 'js::SetPropertyIgnoringNamedGetter(JSContext*, JS::Handle, JS::Handle, JS::Handle, JS::Handle, JS::Handle, JS::ObjectOpResult&)': src/third_party/mozjs-45/extract/js/src/proxy/BaseProxyHandler.cpp:132:22: note: 'proto' declared here 132 | RootedObject proto(cx); | ^~~~~ src/third_party/mozjs-45/extract/js/src/proxy/BaseProxyHandler.cpp:122:47: note: 'cx' declared here 122 | js::SetPropertyIgnoringNamedGetter(JSContext* cx, HandleObject obj, HandleId id, HandleValue v, | ~~~~~~~~~~~^~ 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::DirectProxyHandler::isExtensible(JSContext*, JS::Handle, bool*) const' at src/third_party/mozjs-45/extract/js/src/proxy/DirectProxyHandler.cpp:152: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_29(D) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/proxy/DirectProxyHandler.cpp: In member function 'js::DirectProxyHandler::isExtensible(JSContext*, JS::Handle, bool*) const': src/third_party/mozjs-45/extract/js/src/proxy/DirectProxyHandler.cpp:152:18: note: 'target' declared here 152 | RootedObject target(cx, proxy->as().target()); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/proxy/DirectProxyHandler.cpp:150:45: note: 'cx' declared here 150 | DirectProxyHandler::isExtensible(JSContext* cx, HandleObject proxy, bool* extensible) 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::Proxy::has(JSContext*, JS::Handle, JS::Handle, bool*)' at src/third_party/mozjs-45/extract/js/src/proxy/Proxy.cpp:239:30: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'proto' in 'MEM[(struct Rooted * *)cx_68(D) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src26.cpp:47: src/third_party/mozjs-45/extract/js/src/proxy/Proxy.cpp: In function 'js::Proxy::has(JSContext*, JS::Handle, JS::Handle, bool*)': src/third_party/mozjs-45/extract/js/src/proxy/Proxy.cpp:239:22: note: 'proto' declared here 239 | RootedObject proto(cx); | ^~~~~ src/third_party/mozjs-45/extract/js/src/proxy/Proxy.cpp:224:23: note: 'cx' declared here 224 | Proxy::has(JSContext* cx, HandleObject proxy, HandleId id, bool* bp) | ~~~~~~~~~~~^~ 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::Proxy::get(JSContext*, JS::Handle, JS::Handle, JS::Handle, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/proxy/Proxy.cpp:291:34: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'proto' in 'MEM[(struct Rooted * *)cx_103(D) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/proxy/Proxy.cpp: In function 'js::Proxy::get(JSContext*, JS::Handle, JS::Handle, JS::Handle, JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/proxy/Proxy.cpp:291:26: note: 'proto' declared here 291 | RootedObject proto(cx); | ^~~~~ src/third_party/mozjs-45/extract/js/src/proxy/Proxy.cpp:272:23: note: 'cx' declared here 272 | Proxy::get(JSContext* cx, HandleObject proxy, HandleValue receiver_, HandleId id, | ~~~~~~~~~~~^~ 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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::DirectProxyHandler::boxedValue_unbox(JSContext*, JS::Handle, JS::MutableHandle) const' at src/third_party/mozjs-45/extract/js/src/proxy/DirectProxyHandler.cpp:199: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_28(D) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/proxy/DirectProxyHandler.cpp: In member function 'js::DirectProxyHandler::boxedValue_unbox(JSContext*, JS::Handle, JS::MutableHandle) const': src/third_party/mozjs-45/extract/js/src/proxy/DirectProxyHandler.cpp:199:18: note: 'target' declared here 199 | RootedObject target(cx, proxy->as().target()); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/proxy/DirectProxyHandler.cpp:197:49: note: 'cx' declared here 197 | DirectProxyHandler::boxedValue_unbox(JSContext* cx, HandleObject proxy, MutableHandleValue vp) const | ~~~~~~~~~~~^~ 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 'Reify(JSContext*, JSCompartment*, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/proxy/CrossCompartmentWrapper.cpp:243:58, inlined from 'js::CrossCompartmentWrapper::enumerate(JSContext*, JS::Handle, JS::MutableHandle) const' at src/third_party/mozjs-45/extract/js/src/proxy/CrossCompartmentWrapper.cpp:268: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_10(D) + 52B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src26.cpp:11: src/third_party/mozjs-45/extract/js/src/proxy/CrossCompartmentWrapper.cpp: In member function 'js::CrossCompartmentWrapper::enumerate(JSContext*, JS::Handle, JS::MutableHandle) const': src/third_party/mozjs-45/extract/js/src/proxy/CrossCompartmentWrapper.cpp:243:25: note: 'v' declared here 243 | RootedValue v(cx, StringValue(ni->begin()[i])); | ^ src/third_party/mozjs-45/extract/js/src/proxy/CrossCompartmentWrapper.cpp:258:47: note: 'cx' declared here 258 | CrossCompartmentWrapper::enumerate(JSContext* cx, HandleObject wrapper, | ~~~~~~~~~~~^~ 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_98(D) + 48B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:205:59: note: 'cx' declared here 205 | BaseProxyHandler::getOwnEnumerablePropertyKeys(JSContext* cx, HandleObject proxy, | ~~~~~~~~~~~^~ 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::Proxy::enumerate(JSContext*, JS::Handle, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/proxy/Proxy.cpp:350:30: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'proto' in 'MEM[(struct Rooted * *)cx_103(D) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/proxy/Proxy.cpp: In function 'js::Proxy::enumerate(JSContext*, JS::Handle, JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/proxy/Proxy.cpp:350:22: note: 'proto' declared here 350 | RootedObject proto(cx); | ^~~~~ src/third_party/mozjs-45/extract/js/src/proxy/Proxy.cpp:339:29: note: 'cx' declared here 339 | Proxy::enumerate(JSContext* cx, HandleObject proxy, MutableHandleObject objp) | ~~~~~~~~~~~^~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 ar rcsTD build/fedora/mongo/db/repl/libreplication_info.a build/fedora/mongo/db/repl/replication_info.o Skipping ranlib for thin archive build/fedora/mongo/db/repl/libreplication_info.a 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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/i386/linux/include -Ibuild/fedora -Isrc src/mongo/scripting/mozjs/countdownlatch.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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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/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/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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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 i386 --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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from 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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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/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 { | ^~~~~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from 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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/rpc/command_reply.cpp 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__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/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return 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, long 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return 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:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return 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::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/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move 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:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() 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:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return 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::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/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return 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:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Collection*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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::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::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/bson/mutable/document.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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/bson/mutable/element.cpp 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from /usr/include/string.h:535, from /usr/include/c++/13/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:731:14, inlined from 'mongo::BSONObjBuilder::append(mongo::StringData, std::vector > const&)mongo::BSONObjBuilder&' at src/mongo/bson/bsonobjbuilder.h:970:26, inlined from 'mongo::rpc::(anonymous namespace)::mergeInDocumentSequences(mongo::OpMsgRequest const&, mongo::BSONObjBuilder*)' at src/mongo/rpc/legacy_request_builder.cpp:52:21: /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_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/client/authenticate.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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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/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:106:25: warning: redundant move in initialization [-Wredundant-move] 106 | return std::move(db.getStatus()); | ~~~~~~~~~^~~~~~~~~~~~~~~~ src/mongo/client/authenticate.cpp:106:25: note: remove 'std::move' call 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/client/authenticate.cpp: In function 'void mongo::auth::{anonymous}::authX509(mongo::auth::RunCommandHook, const mongo::BSONObj&, mongo::StringData, mongo::auth::AuthCompletionHandler)': src/mongo/client/authenticate.cpp:145:33: warning: redundant move in initialization [-Wredundant-move] 145 | return handler(std::move(authRequest.getStatus())); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/client/authenticate.cpp:145:33: note: remove 'std::move' call 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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/i386/linux/include -Ibuild/fedora -Isrc src/mongo/scripting/mozjs/oid.cpp 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/base/secure_allocator.cpp 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [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()) { | ^~~~~~~ | & 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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from 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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/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/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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/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, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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/c++/13/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 int) 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 4294967295 exceeds maximum object size 2147483647 [-Wstringop-overread] 102 | return __builtin_memchr (__s, __c, __n); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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/i386/linux/include -Ibuild/fedora -Isrc src/mongo/scripting/mozjs/proxyscope.cpp 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/idl/idl_parser.cpp 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from 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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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, 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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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/string.h:535, from /usr/include/c++/13/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:731: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/icu4c-57.1/source/common/icudataver.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from 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 { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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/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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 { | ^~~~~ 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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/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 { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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/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, long long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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/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/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/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/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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return 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::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [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::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/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::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++/13/bits/stl_pair.h:194: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::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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 { | ^~~~~ 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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS src/third_party/shim_pcrecpp.cc 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/mozjs-45/platform/i386/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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/i386/linux/build -Isrc/third_party/mozjs-45/platform/i386/linux/build -Ibuild/fedora/third_party/mozjs-45/platform/i386/linux/include -Isrc/third_party/mozjs-45/platform/i386/linux/include src/third_party/mozjs-45/platform/i386/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/i386/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/i386/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/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/x86/MacroAssembler-x86.h:12, from src/third_party/mozjs-45/extract/js/src/jit/MacroAssembler.h:16, 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 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 | ^~~~~~~~~~~~~~ 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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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 'ValidateSimdType(JSContext*, js::AsmJSModule::Global&, JS::Handle, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSLink.cpp:345:44: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'simdDesc' in 'MEM[(struct Rooted * *)cx_108(D) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSLink.cpp: In function 'ValidateSimdType(JSContext*, js::AsmJSModule::Global&, JS::Handle, JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSLink.cpp:345:18: note: 'simdDesc' declared here 345 | RootedObject simdDesc(cx, &v.toObject()); | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSLink.cpp:325:29: note: 'cx' declared here 325 | ValidateSimdType(JSContext* cx, AsmJSModule::Global& global, HandleValue globalVal, | ~~~~~~~~~~~^~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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_134(D) + 28B]' [-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:1136:36: note: 'cx' declared here 1136 | js::AsmJSModuleToString(JSContext* cx, HandleFunction fun, bool addParenToLambda) | ~~~~~~~~~~~^~ 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) + 28B]' [-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:1243:38: note: 'cx' declared here 1243 | js::AsmJSFunctionToString(JSContext* cx, HandleFunction fun) | ~~~~~~~~~~~^~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from 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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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 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 'CallAsmJS(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSLink.cpp:663:66: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'callee' in 'MEM[(struct Rooted * *)cx_233(D) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSLink.cpp: In function 'CallAsmJS(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSLink.cpp:663:20: note: 'callee' declared here 663 | RootedFunction callee(cx, &callArgs.callee().as()); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSLink.cpp:660:22: note: 'cx' declared here 660 | CallAsmJS(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move 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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::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::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return 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 = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [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::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return 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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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 /usr/include/string.h:535, from /usr/include/c++/13/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:731:14, inlined from 'mongo::BSONObjBuilder::append(mongo::StringData, std::vector > const&)mongo::BSONObjBuilder&' at src/mongo/bson/bsonobjbuilder.h:970: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)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 g++ -o build/fedora/third_party/mozjs-45/platform/i386/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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/i386/linux/build -Isrc/third_party/mozjs-45/platform/i386/linux/build -Ibuild/fedora/third_party/mozjs-45/platform/i386/linux/include -Isrc/third_party/mozjs-45/platform/i386/linux/include src/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src15.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/i386/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 | ^~~~~~~~ g++ -o build/fedora/third_party/mozjs-45/platform/i386/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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/i386/linux/build -Isrc/third_party/mozjs-45/platform/i386/linux/build -Ibuild/fedora/third_party/mozjs-45/platform/i386/linux/include -Isrc/third_party/mozjs-45/platform/i386/linux/include src/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src17.cpp 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/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/ScalarReplacement.cpp:11, from src/third_party/mozjs-45/platform/i386/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/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 | ^~~~~~~~~~~~~~ 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 = 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/jit/ScalarReplacement.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/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/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/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 = 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::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_33(D) + 52B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src17.cpp:11: 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:1214:43: note: 'cx' declared here 1214 | ConvertObjectToStringForConcat(JSContext* cx, HandleValue obj) | ~~~~~~~~~~~^~ 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::EffectlesslyLookupProperty(JSContext*, JS::Handle, JS::Handle, JS::MutableHandle, JS::MutableHandle, bool*, js::DOMProxyShadowsResult*, bool*)' at src/third_party/mozjs-45/extract/js/src/jit/SharedIC.cpp:2275:34: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'checkObj' in 'MEM[(struct Rooted * *)cx_63(D) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/SharedIC.cpp: In function 'js::jit::EffectlesslyLookupProperty(JSContext*, JS::Handle, JS::Handle, JS::MutableHandle, JS::MutableHandle, bool*, js::DOMProxyShadowsResult*, bool*)': src/third_party/mozjs-45/extract/js/src/jit/SharedIC.cpp:2275:18: note: 'checkObj' declared here 2275 | RootedObject checkObj(cx, obj); | ^~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/SharedIC.cpp:2260:39: note: 'cx' declared here 2260 | EffectlesslyLookupProperty(JSContext* cx, HandleObject obj, HandleId id, | ~~~~~~~~~~~^~ 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 int*)' 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) + 12B]' [-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 int*)': 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:2901:35: note: 'cx' declared here 2901 | CheckHasNoSuchProperty(JSContext* cx, HandleObject obj, HandlePropertyName name, | ~~~~~~~~~~~^~ g++ -o build/fedora/third_party/mozjs-45/platform/i386/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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/i386/linux/build -Isrc/third_party/mozjs-45/platform/i386/linux/build -Ibuild/fedora/third_party/mozjs-45/platform/i386/linux/include -Isrc/third_party/mozjs-45/platform/i386/linux/include src/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src25.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::ICUpdatedStub::addUpdateStubForValue(JSContext*, JS::Handle, JS::Handle, JS::Handle, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/jit/SharedIC.cpp:4920:45: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_212(D) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/SharedIC.cpp: In member function 'js::jit::ICUpdatedStub::addUpdateStubForValue(JSContext*, JS::Handle, JS::Handle, JS::Handle, JS::Handle)': src/third_party/mozjs-45/extract/js/src/jit/SharedIC.cpp:4920:22: note: 'obj' declared here 4920 | RootedObject obj(cx, &val.toObject()); | ^~~ src/third_party/mozjs-45/extract/js/src/jit/SharedIC.cpp:4877:49: note: 'cx' declared here 4877 | ICUpdatedStub::addUpdateStubForValue(JSContext* cx, HandleScript script, HandleObject obj, | ~~~~~~~~~~~^~ 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::ICTypeMonitor_Fallback::addMonitorStubForValue(JSContext*, JSScript*, JS::Handle, js::jit::ICStubCompiler::Engine)' at src/third_party/mozjs-45/extract/js/src/jit/SharedIC.cpp:4647:45: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'obj' in 'MEM[(struct Rooted * *)cx_251(D) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/SharedIC.cpp: In member function 'js::jit::ICTypeMonitor_Fallback::addMonitorStubForValue(JSContext*, JSScript*, JS::Handle, js::jit::ICStubCompiler::Engine)': src/third_party/mozjs-45/extract/js/src/jit/SharedIC.cpp:4647:22: note: 'obj' declared here 4647 | RootedObject obj(cx, &val.toObject()); | ^~~ src/third_party/mozjs-45/extract/js/src/jit/SharedIC.cpp:4603:59: note: 'cx' declared here 4603 | ICTypeMonitor_Fallback::addMonitorStubForValue(JSContext* cx, JSScript* script, HandleValue val, ICStubCompiler::Engine engine) | ~~~~~~~~~~~^~ 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::DoUnaryArithFallback(JSContext*, js::jit::BaselineFrame*, js::jit::ICUnaryArith_Fallback*, JS::Handle, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/jit/SharedIC.cpp:1489:59: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'script' in 'MEM[(struct Rooted * *)cx_188(D) + 40B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/SharedIC.cpp: In function 'js::jit::DoUnaryArithFallback(JSContext*, js::jit::BaselineFrame*, js::jit::ICUnaryArith_Fallback*, JS::Handle, JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/jit/SharedIC.cpp:1489:18: note: 'script' declared here 1489 | RootedScript script(cx, SharedStubScript(frame, stub_)); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/jit/SharedIC.cpp:1485:33: note: 'cx' declared here 1485 | DoUnaryArithFallback(JSContext* cx, BaselineFrame* frame, ICUnaryArith_Fallback* stub_, | ~~~~~~~~~~~^~ 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/jspropertytree.cpp:11, from src/third_party/mozjs-45/platform/i386/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/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&>(JSContext* const&, JS::Handle&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::jit::DoBinaryArithFallback(JSContext*, js::jit::BaselineFrame*, js::jit::ICBinaryArith_Fallback*, JS::Handle, JS::Handle, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/jit/SharedIC.cpp:945: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_610(D) + 52B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/SharedIC.cpp: In function 'js::jit::DoBinaryArithFallback(JSContext*, js::jit::BaselineFrame*, js::jit::ICBinaryArith_Fallback*, JS::Handle, JS::Handle, JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/jit/SharedIC.cpp:945:17: note: 'rhsCopy' declared here 945 | RootedValue rhsCopy(cx, rhs); | ^~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/SharedIC.cpp:927:34: note: 'cx' declared here 927 | DoBinaryArithFallback(JSContext* cx, BaselineFrame* frame, ICBinaryArith_Fallback* stub_, | ~~~~~~~~~~~^~ 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_531(D) + 52B]' [-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:1621:30: note: 'cx' declared here 1621 | DoCompareFallback(JSContext* cx, BaselineFrame* frame, ICCompare_Fallback* stub_, HandleValue lhs, | ~~~~~~~~~~~^~ 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_379(D) + 28B]' [-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:3017:30: note: 'cx' declared here 3017 | DoGetPropFallback(JSContext* cx, BaselineFrame* frame, ICGetProp_Fallback* stub_, | ~~~~~~~~~~~^~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.cpp:52, from src/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src25.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&, JSScript*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::jit::DoTypeMonitorFallback(JSContext*, js::jit::BaselineFrame*, js::jit::ICTypeMonitor_Fallback*, JS::Handle, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/jit/SharedIC.cpp:4724:58: 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) + 40B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jit/SharedIC.cpp: In function 'js::jit::DoTypeMonitorFallback(JSContext*, js::jit::BaselineFrame*, js::jit::ICTypeMonitor_Fallback*, JS::Handle, JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/jit/SharedIC.cpp:4724:18: note: 'script' declared here 4724 | RootedScript script(cx, SharedStubScript(frame, stub)); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/jit/SharedIC.cpp:4720:34: note: 'cx' declared here 4720 | DoTypeMonitorFallback(JSContext* cx, BaselineFrame* frame, ICTypeMonitor_Fallback* stub, | ~~~~~~~~~~~^~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jspropertytree.h:11, from src/third_party/mozjs-45/extract/js/src/jspropertytree.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 | ^~~~~~~~~~~~~~ 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/vm/Shape-inl.h:22, from src/third_party/mozjs-45/extract/js/src/jspropertytree.cpp: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 | ^~~~~~~~~~~~~~ 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/extract/js/src/jspropertytree.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::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 = 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 = unsigned int; 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 = unsigned int; 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 = unsigned int; 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 | ^~~~~~~~~~~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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/i386/linux/build -Isrc/third_party/mozjs-45/platform/i386/linux/build -Ibuild/fedora/third_party/mozjs-45/platform/i386/linux/include -Isrc/third_party/mozjs-45/platform/i386/linux/include src/third_party/mozjs-45/extract/js/src/jsarray.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/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 | ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14: 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_324(D) + 28B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src25.cpp:20: 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:494:30: note: 'cx' declared here 494 | str_toSource_impl(JSContext* cx, const CallArgs& args) | ~~~~~~~~~~~^~ 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 'str_enumerate(JSContext*, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/jsstr.cpp:386: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_60(D) + 52B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsstr.cpp: In function 'str_enumerate(JSContext*, JS::Handle)': src/third_party/mozjs-45/extract/js/src/jsstr.cpp:386:17: note: 'value' declared here 386 | RootedValue value(cx); | ^~~~~ src/third_party/mozjs-45/extract/js/src/jsstr.cpp:383:26: note: 'cx' declared here 383 | str_enumerate(JSContext* cx, HandleObject obj) | ~~~~~~~~~~~^~ 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_66(D) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src25.cpp:47: 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:173:25: note: 'cx' declared here 173 | pm_construct(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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_resolve(JSContext*, JS::Handle, JS::Handle, bool*)' at src/third_party/mozjs-45/extract/js/src/jsstr.cpp:415:57: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'str' in 'MEM[(struct Rooted * *)cx_75(D) + 28B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsstr.cpp: In function 'str_resolve(JSContext*, JS::Handle, JS::Handle, bool*)': src/third_party/mozjs-45/extract/js/src/jsstr.cpp:415:18: note: 'str' declared here 415 | RootedString str(cx, obj->as().unbox()); | ^~~ src/third_party/mozjs-45/extract/js/src/jsstr.cpp:410:24: note: 'cx' declared here 410 | str_resolve(JSContext* cx, HandleObject obj, HandleId id, bool* resolvedp) | ~~~~~~~~~~~^~ In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted&>(JSContext* const&, JS::MutableHandle&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'JSCompartment::wrap(JSContext*, JS::MutableHandle, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/jscompartmentinlines.h:106:29: 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) + 52B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscriptinlines.h:17, from src/third_party/mozjs-45/extract/js/src/jsscript.cpp:11: src/third_party/mozjs-45/extract/js/src/jscompartmentinlines.h: In member function 'JSCompartment::wrap(JSContext*, JS::MutableHandle, JS::Handle)': src/third_party/mozjs-45/extract/js/src/jscompartmentinlines.h:106:21: note: 'v' declared here 106 | JS::RootedValue v(cx, vp); | ^ src/third_party/mozjs-45/extract/js/src/jscompartmentinlines.h:57:32: note: 'cx' declared here 57 | JSCompartment::wrap(JSContext* cx, JS::MutableHandleValue vp, JS::HandleObject existing) | ~~~~~~~~~~~^~ 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 'DoGetElement(JSContext*, JS::Handle, JS::Handle, unsigned int, bool*, JS::MutableHandle)bool' at src/third_party/mozjs-45/extract/js/src/jsarray.cpp:219:14, inlined from 'GetElement(JSContext*, JS::Handle, JS::Handle, unsigned int, bool*, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/jsarray.cpp:270:24: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'id' in 'MEM[(struct Rooted * *)cx_22(D) + 48B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsarray.cpp: In function 'GetElement(JSContext*, JS::Handle, JS::Handle, unsigned int, bool*, JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/jsarray.cpp:219:14: note: 'id' declared here 219 | RootedId id(cx); | ^~ src/third_party/mozjs-45/extract/js/src/jsarray.cpp:252:23: note: 'cx' declared here 252 | GetElement(JSContext* cx, HandleObject obj, HandleObject receiver, | ~~~~~~~~~~~^~ 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) + 52B]' [-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:2857:24: note: 'cx' declared here 2857 | SliceSlowly(JSContext* cx, HandleObject obj, HandleObject receiver, | ~~~~~~~~~~~^~ 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_106(D) + 28B]' [-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:549:32: note: 'cx' declared here 549 | js::SubstringKernel(JSContext* cx, HandleString str, int32_t beginInt, int32_t lengthInt) | ~~~~~~~~~~~^~ 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::str_charCodeAt_impl(JSContext*, JS::Handle, JS::Handle, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/jsstr.cpp:1008:24: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'str' in 'MEM[(struct Rooted * *)cx_83(D) + 28B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsstr.cpp: In function 'js::str_charCodeAt_impl(JSContext*, JS::Handle, JS::Handle, JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/jsstr.cpp:1008:18: note: 'str' declared here 1008 | RootedString str(cx); | ^~~ src/third_party/mozjs-45/extract/js/src/jsstr.cpp:1006:36: note: 'cx' declared here 1006 | js::str_charCodeAt_impl(JSContext* cx, HandleString string, HandleValue index, MutableHandleValue res) | ~~~~~~~~~~~^~ 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::DeleteElement(JSContext*, JS::Handle, unsigned int, JS::ObjectOpResult&)' at src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:231: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_35(D) + 48B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsobjinlines.h: In function 'js::DeleteElement(JSContext*, JS::Handle, unsigned int, JS::ObjectOpResult&)': src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:231:14: note: 'id' declared here 231 | RootedId id(cx); | ^~ src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:229:30: note: 'cx' declared here 229 | js::DeleteElement(JSContext* cx, HandleObject obj, uint32_t index, ObjectOpResult& result) | ~~~~~~~~~~~^~ In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(js::ExclusiveContext* const&, JS::Value&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::ToStringSlow<(js::AllowGC)1>(js::ExclusiveContext*, js::MaybeRooted::HandleType)JSString*' at src/third_party/mozjs-45/extract/js/src/jsstr.cpp:4279:21: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'v2' in 'MEM[(struct Rooted * *)cx_62(D) + 52B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsstr.cpp: In function 'js::ToStringSlow<(js::AllowGC)1>(js::ExclusiveContext*, js::MaybeRooted::HandleType)JSString*': src/third_party/mozjs-45/extract/js/src/jsstr.cpp:4279:21: note: 'v2' declared here 4279 | RootedValue v2(cx, v); | ^~ src/third_party/mozjs-45/extract/js/src/jsstr.cpp:4270:36: note: 'cx' declared here 4270 | js::ToStringSlow(ExclusiveContext* cx, typename MaybeRooted::HandleType arg) | ~~~~~~~~~~~~~~~~~~^~ 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::str_charAt(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/jsstr.cpp:973:24: 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) + 28B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsstr.cpp: In function 'js::str_charAt(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/jsstr.cpp:973:18: note: 'str' declared here 973 | RootedString str(cx); | ^~~ src/third_party/mozjs-45/extract/js/src/jsstr.cpp:969:27: note: 'cx' declared here 969 | js::str_charAt(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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 'array_addProperty(JSContext*, JS::Handle, JS::Handle, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/jsarray.cpp:804:57: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'arr' in 'MEM[(struct Rooted * *)cx_33(D) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsarray.cpp: In function 'array_addProperty(JSContext*, JS::Handle, JS::Handle, JS::Handle)': src/third_party/mozjs-45/extract/js/src/jsarray.cpp:804:26: note: 'arr' declared here 804 | Rooted arr(cx, &obj->as()); | ^~~ src/third_party/mozjs-45/extract/js/src/jsarray.cpp:802:30: note: 'cx' declared here 802 | array_addProperty(JSContext* cx, HandleObject obj, HandleId id, HandleValue v) | ~~~~~~~~~~~^~ 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::GetElement(JSContext*, JS::Handle, JS::Handle, unsigned int, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:188:19, inlined from 'js::GetElement(JSContext*, JS::Handle, JS::Handle, unsigned int, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:199:22, 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:328:28: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'id' in 'MEM[(struct Rooted * *)cx_55(D) + 48B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsobjinlines.h: In function 'js::GetElementsWithAdder(JSContext*, JS::Handle, JS::Handle, unsigned int, unsigned int, js::ElementAdder*)': src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:188:14: note: 'id' declared here 188 | RootedId id(cx); | ^~ src/third_party/mozjs-45/extract/js/src/jsarray.cpp:311:37: note: 'cx' declared here 311 | js::GetElementsWithAdder(JSContext* cx, HandleObject obj, HandleObject receiver, | ~~~~~~~~~~~^~ 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_167(D) + 28B]' [-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:1922:23: note: 'cx' declared here 1922 | TrimString(JSContext* cx, Value* vp, bool trimLeft, bool trimRight) | ~~~~~~~~~~~^~ 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_149(D) + 28B]' [-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:654:30: note: 'cx' declared here 654 | ToLowerCaseHelper(JSContext* cx, CallReceiver 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::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_91(D) + 12B]' [-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:2011:27: note: 'cx' declared here 2011 | js::array_push(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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_171(D) + 28B]' [-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:682:34: note: 'cx' declared here 682 | str_toLocaleLowerCase(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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_192(D) + 28B]' [-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:1600:28: note: 'cx' declared here 1600 | js::str_indexOf(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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_245(D) + 28B]' [-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:1673:32: note: 'cx' declared here 1673 | js::str_lastIndexOf(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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_204(D) + 28B]' [-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:1767:31: note: 'cx' declared here 1767 | js::str_startsWith(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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_205(D) + 28B]' [-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:1833:25: note: 'cx' declared here 1833 | str_endsWith(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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_202(D) + 28B]' [-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:1530:25: note: 'cx' declared here 1530 | str_includes(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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_concat(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/jsstr.cpp:3980:41: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'strRoot' in 'MEM[(struct Rooted * *)cx_214(D) + 28B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsstr.cpp: In function 'str_concat(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/jsstr.cpp:3980:26: note: 'strRoot' declared here 3980 | RootedString strRoot(cx, str); | ^~~~~~~ src/third_party/mozjs-45/extract/js/src/jsstr.cpp:3970:23: note: 'cx' declared here 3970 | str_concat(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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_209(D) + 28B]' [-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:859:30: note: 'cx' declared here 859 | str_localeCompare(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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_136(D) + 12B]' [-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:3240:33: note: 'cx' declared here 3240 | CreateArrayPrototype(JSContext* cx, JSProtoKey key) | ~~~~~~~~~~~^~ 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) + 24B]' [-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:3412:35: note: 'cx' declared here 3412 | js::NewDenseEmptyArray(JSContext* cx, HandleObject proto /* = nullptr */, | ~~~~~~~~~~~^~ 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) + 24B]' [-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:3435:48: note: 'cx' declared here 3435 | js::NewDenseUnallocatedArray(ExclusiveContext* cx, uint32_t length, | ~~~~~~~~~~~~~~~~~~^~ 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) + 24B]' [-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:3419:51: note: 'cx' declared here 3419 | js::NewDenseFullyAllocatedArray(ExclusiveContext* cx, uint32_t length, | ~~~~~~~~~~~~~~~~~~^~ 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) + 24B]' [-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:3427:52: note: 'cx' declared here 3427 | js::NewDensePartlyAllocatedArray(ExclusiveContext* cx, uint32_t length, | ~~~~~~~~~~~~~~~~~~^~ 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 int, 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) + 24B]' [-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 int, 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:3506:39: note: 'cx' declared here 3506 | NewArrayTryUseGroup(ExclusiveContext* cx, HandleObjectGroup group, size_t length, | ~~~~~~~~~~~~~~~~~~^~ 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 int, 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_4(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsarray.cpp: In function 'NewArrayTryReuseGroup<2046u>(JSContext*, JSObject*, unsigned int, 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:3563:34: note: 'cx' declared here 3563 | NewArrayTryReuseGroup(JSContext* cx, JSObject* obj, size_t length, | ~~~~~~~~~~~^~ 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 int, 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) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsarray.cpp: In function 'js::NewPartlyAllocatedArrayForCallingAllocationSite(JSContext*, unsigned int, 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:3603:64: note: 'cx' declared here 3603 | js::NewPartlyAllocatedArrayForCallingAllocationSite(JSContext* cx, size_t length, HandleObject proto) | ~~~~~~~~~~~^~ 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 int, 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_583(D) + 24B]' [-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 int, 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:3506:39: note: 'cx' declared here 3506 | NewArrayTryUseGroup(ExclusiveContext* cx, HandleObjectGroup group, size_t length, | ~~~~~~~~~~~~~~~~~~^~ 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 int, 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_544(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsarray.cpp: In function 'NewArrayTryReuseGroup<4294967295u>(JSContext*, JSObject*, unsigned int, 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:3563:34: note: 'cx' declared here 3563 | NewArrayTryReuseGroup(JSContext* cx, JSObject* obj, size_t length, | ~~~~~~~~~~~^~ 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 int, 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) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsarray.cpp: In function 'js::NewFullyAllocatedArrayForCallingAllocationSite(JSContext*, unsigned int, 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:3593:63: note: 'cx' declared here 3593 | js::NewFullyAllocatedArrayForCallingAllocationSite(JSContext* cx, size_t length, | ~~~~~~~~~~~^~ 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_204(D) + 12B]' [-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:2918:28: note: 'cx' declared here 2918 | js::array_slice(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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_14(D) + 52B]' [-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:1084:26: note: 'cx' declared here 1084 | js::ArrayJoin(JSContext* cx, HandleObject obj, HandleLinearString sepstr, uint32_t length) | ~~~~~~~~~~~^~ 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_98(D) + 12B]' [-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:1147:22: note: 'cx' declared here 1147 | ArrayJoin(JSContext* cx, CallArgs& args) | ~~~~~~~~~~~^~ 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 'ArrayShiftDenseKernel<(JSValueType)3>(JSContext*, JS::Handle, JS::MutableHandle)js::DenseElementResult' at src/third_party/mozjs-45/extract/js/src/jsarray.cpp:2139: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_58(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsarray.cpp: In function 'ArrayShiftDenseKernel<(JSValueType)3>(JSContext*, JS::Handle, JS::MutableHandle)js::DenseElementResult': src/third_party/mozjs-45/extract/js/src/jsarray.cpp:2139:23: note: 'group' declared here 2139 | RootedObjectGroup group(cx, obj->getGroup(cx)); | ^~~~~ src/third_party/mozjs-45/extract/js/src/jsarray.cpp:2134:34: note: 'cx' declared here 2134 | ArrayShiftDenseKernel(JSContext* cx, HandleObject obj, MutableHandleValue rval) | ~~~~~~~~~~~^~ 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) + 28B]' [-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:518:25: note: 'cx' declared here 518 | str_toSource(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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 'ArrayShiftDenseKernel<(JSValueType)1>(JSContext*, JS::Handle, JS::MutableHandle)js::DenseElementResult' at src/third_party/mozjs-45/extract/js/src/jsarray.cpp:2139: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_57(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsarray.cpp: In function 'ArrayShiftDenseKernel<(JSValueType)1>(JSContext*, JS::Handle, JS::MutableHandle)js::DenseElementResult': src/third_party/mozjs-45/extract/js/src/jsarray.cpp:2139:23: note: 'group' declared here 2139 | RootedObjectGroup group(cx, obj->getGroup(cx)); | ^~~~~ src/third_party/mozjs-45/extract/js/src/jsarray.cpp:2134:34: note: 'cx' declared here 2134 | ArrayShiftDenseKernel(JSContext* cx, HandleObject obj, MutableHandleValue rval) | ~~~~~~~~~~~^~ 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 'ArrayShiftDenseKernel<(JSValueType)0>(JSContext*, JS::Handle, JS::MutableHandle)js::DenseElementResult' at src/third_party/mozjs-45/extract/js/src/jsarray.cpp:2139: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_57(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsarray.cpp: In function 'ArrayShiftDenseKernel<(JSValueType)0>(JSContext*, JS::Handle, JS::MutableHandle)js::DenseElementResult': src/third_party/mozjs-45/extract/js/src/jsarray.cpp:2139:23: note: 'group' declared here 2139 | RootedObjectGroup group(cx, obj->getGroup(cx)); | ^~~~~ src/third_party/mozjs-45/extract/js/src/jsarray.cpp:2134:34: note: 'cx' declared here 2134 | ArrayShiftDenseKernel(JSContext* cx, HandleObject obj, MutableHandleValue rval) | ~~~~~~~~~~~^~ 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 'ArrayShiftDenseKernel<(JSValueType)5>(JSContext*, JS::Handle, JS::MutableHandle)js::DenseElementResult' at src/third_party/mozjs-45/extract/js/src/jsarray.cpp:2139: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_57(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsarray.cpp: In function 'ArrayShiftDenseKernel<(JSValueType)5>(JSContext*, JS::Handle, JS::MutableHandle)js::DenseElementResult': src/third_party/mozjs-45/extract/js/src/jsarray.cpp:2139:23: note: 'group' declared here 2139 | RootedObjectGroup group(cx, obj->getGroup(cx)); | ^~~~~ src/third_party/mozjs-45/extract/js/src/jsarray.cpp:2134:34: note: 'cx' declared here 2134 | ArrayShiftDenseKernel(JSContext* cx, HandleObject obj, MutableHandleValue rval) | ~~~~~~~~~~~^~ 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_171(D) + 28B]' [-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:3215:35: note: 'cx' declared here 3215 | StrReplaceRegexpRemove(JSContext* cx, HandleString str, RegExpShared& re) | ~~~~~~~~~~~^~ 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 'ArrayShiftDenseKernel<(JSValueType)8>(JSContext*, JS::Handle, JS::MutableHandle)js::DenseElementResult' at src/third_party/mozjs-45/extract/js/src/jsarray.cpp:2139: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_57(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsarray.cpp: In function 'ArrayShiftDenseKernel<(JSValueType)8>(JSContext*, JS::Handle, JS::MutableHandle)js::DenseElementResult': src/third_party/mozjs-45/extract/js/src/jsarray.cpp:2139:23: note: 'group' declared here 2139 | RootedObjectGroup group(cx, obj->getGroup(cx)); | ^~~~~ src/third_party/mozjs-45/extract/js/src/jsarray.cpp:2134:34: note: 'cx' declared here 2134 | ArrayShiftDenseKernel(JSContext* cx, HandleObject obj, MutableHandleValue rval) | ~~~~~~~~~~~^~ 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::PropertyTree::getChild(js::ExclusiveContext*, js::Shape*, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/jspropertytree.cpp:131:37: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'parent' in 'MEM[(struct Rooted * *)cx_94(D) + 16B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jspropertytree.cpp: In member function 'js::PropertyTree::getChild(js::ExclusiveContext*, js::Shape*, JS::Handle)': src/third_party/mozjs-45/extract/js/src/jspropertytree.cpp:131:17: note: 'parent' declared here 131 | RootedShape parent(cx, parentArg); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/jspropertytree.cpp:129:42: note: 'cx' declared here 129 | PropertyTree::getChild(ExclusiveContext* cx, Shape* parentArg, Handle child) | ~~~~~~~~~~~~~~~~~~^~ 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_186(D) + 16B]' [-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:87:54: note: 'cx' declared here 87 | Bindings::initWithTemporaryStorage(ExclusiveContext* cx, MutableHandle self, | ~~~~~~~~~~~~~~~~~~^~ In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted&>(JSContext* const&, JS::Rooted&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'FindReplaceLength(JSContext*, js::RegExpStatics*, (anonymous namespace)::ReplaceData&, unsigned int*)' at src/third_party/mozjs-45/extract/js/src/jsstr.cpp:2784:45, inlined from 'ReplaceRegExp(JSContext*, js::RegExpStatics*, (anonymous namespace)::ReplaceData&)' at src/third_party/mozjs-45/extract/js/src/jsstr.cpp:2891:27: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'lambda' in 'MEM[(struct Rooted * *)cx_22(D) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsstr.cpp: In function 'ReplaceRegExp(JSContext*, js::RegExpStatics*, (anonymous namespace)::ReplaceData&)': src/third_party/mozjs-45/extract/js/src/jsstr.cpp:2784:22: note: 'lambda' declared here 2784 | RootedObject lambda(cx, rdata.lambda); | ^~~~~~ src/third_party/mozjs-45/extract/js/src/jsstr.cpp:2878:26: note: 'cx' declared here 2878 | ReplaceRegExp(JSContext* cx, RegExpStatics* res, ReplaceData& rdata) | ~~~~~~~~~~~^~ 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_28(D) + 52B]' [-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:1084:26: note: 'cx' declared here 1084 | js::ArrayJoin(JSContext* cx, HandleObject obj, HandleLinearString sepstr, uint32_t length) | ~~~~~~~~~~~^~ 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_118(D) + 12B]' [-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:1147:22: note: 'cx' declared here 1147 | ArrayJoin(JSContext* cx, CallArgs& args) | ~~~~~~~~~~~^~ 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_406(D) + 28B]' [-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:3855:26: note: 'cx' declared here 3855 | js::str_split(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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_95(D) + 52B]' [-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:1263:36: note: 'cx' declared here 1263 | ArrayReverseDenseKernel(JSContext* cx, HandleObject obj, uint32_t length) | ~~~~~~~~~~~^~ 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_350(D) + 12B]' [-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:2625:29: note: 'cx' declared here 2625 | js::array_concat(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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) + 28B]' [-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:3947:33: note: 'cx' declared here 3947 | js::str_split_string(JSContext* cx, HandleObjectGroup group, HandleString str, HandleString sep) | ~~~~~~~~~~~^~ 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 int, 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) + 24B]' [-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 int, 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:3665:55: note: 'cx' declared here 3665 | js::NewCopiedArrayForCallingAllocationSite(JSContext* cx, const Value* vp, size_t length, | ~~~~~~~~~~~^~ 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_39(D) + 28B]' [-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:5011:36: note: 'cx' declared here 5011 | str_decodeURI_Component(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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_39(D) + 28B]' [-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:5000:26: note: 'cx' declared here 5000 | str_decodeURI(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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::NewbornArrayPush(JSContext*, JS::Handle, JS::Value const&)' at src/third_party/mozjs-45/extract/js/src/jsarray.cpp:1992:57: 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_127(D) + 28B]' [-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:4346:30: note: 'cx' declared here 4346 | js::ValueToSource(JSContext* cx, HandleValue v) | ~~~~~~~~~~~^~ src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'arr' in 'MEM[(struct Rooted * *)cx_44(D) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsarray.cpp: In function 'js::NewbornArrayPush(JSContext*, JS::Handle, JS::Value const&)': src/third_party/mozjs-45/extract/js/src/jsarray.cpp:1992:26: note: 'arr' declared here 1992 | Rooted arr(cx, &obj->as()); | ^~~ src/third_party/mozjs-45/extract/js/src/jsarray.cpp:1990:33: note: 'cx' declared here 1990 | js::NewbornArrayPush(JSContext* cx, HandleObject obj, const Value& v) | ~~~~~~~~~~~^~ In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JS::Value const&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::ValueToPrintable(JSContext*, JS::Value const&, JSAutoByteString*, bool)' at src/third_party/mozjs-45/extract/js/src/jsstr.cpp:4254:27: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'v' in 'MEM[(struct Rooted * *)cx_43(D) + 52B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsstr.cpp: In function 'js::ValueToPrintable(JSContext*, JS::Value const&, JSAutoByteString*, bool)': src/third_party/mozjs-45/extract/js/src/jsstr.cpp:4254:17: note: 'v' declared here 4254 | RootedValue v(cx, vArg); | ^ src/third_party/mozjs-45/extract/js/src/jsstr.cpp:4252:33: note: 'cx' declared here 4252 | js::ValueToPrintable(JSContext* cx, const Value& vArg, JSAutoByteString* bytes, bool asSource) | ~~~~~~~~~~~^~ 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)::StringRegExpGuard::normalizeRegExp(JSContext*, bool, unsigned int, JS::CallArgs const&)' at src/third_party/mozjs-45/extract/js/src/jsstr.cpp:2186:28: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'opt' in 'MEM[(struct Rooted * *)cx_92(D) + 28B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsstr.cpp: In member function '(anonymous namespace)::StringRegExpGuard::normalizeRegExp(JSContext*, bool, unsigned int, JS::CallArgs const&)': src/third_party/mozjs-45/extract/js/src/jsstr.cpp:2186:22: note: 'opt' declared here 2186 | RootedString opt(cx); | ^~~ src/third_party/mozjs-45/extract/js/src/jsstr.cpp:2180:37: note: 'cx' declared here 2180 | bool normalizeRegExp(JSContext* cx, bool flat, unsigned optarg, const CallArgs& args) | ~~~~~~~~~~~^~ 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_196(D) + 28B]' [-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:3063:35: note: 'cx' declared here 3063 | BuildDollarReplacement(JSContext* cx, JSString* textstrArg, JSLinearString* repstr, | ~~~~~~~~~~~^~ 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 'ArrayShiftDenseKernel<(JSValueType)4>(JSContext*, JS::Handle, JS::MutableHandle)js::DenseElementResult' at src/third_party/mozjs-45/extract/js/src/jsarray.cpp:2139:23: 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) + 28B]' [-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:315:25: note: 'cx' declared here 315 | str_unescape(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'group' in 'MEM[(struct Rooted * *)cx_60(D) + 24B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsarray.cpp: In function 'ArrayShiftDenseKernel<(JSValueType)4>(JSContext*, JS::Handle, JS::MutableHandle)js::DenseElementResult': src/third_party/mozjs-45/extract/js/src/jsarray.cpp:2139:23: note: 'group' declared here 2139 | RootedObjectGroup group(cx, obj->getGroup(cx)); | ^~~~~ src/third_party/mozjs-45/extract/js/src/jsarray.cpp:2134:34: note: 'cx' declared here 2134 | ArrayShiftDenseKernel(JSContext* cx, HandleObject obj, MutableHandleValue rval) | ~~~~~~~~~~~^~ 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_5(D) + 24B]' [-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:3444:43: note: 'cx' declared here 3444 | js::NewDenseCopiedArray(ExclusiveContext* cx, uint32_t length, const Value* values, | ~~~~~~~~~~~~~~~~~~^~ 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_39(D) + 28B]' [-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:5022:26: note: 'cx' declared here 5022 | str_encodeURI(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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_288(D) + 12B]' [-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:1816:27: note: 'cx' declared here 1816 | js::array_sort(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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_39(D) + 28B]' [-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:5033:36: note: 'cx' declared here 5033 | str_encodeURI_Component(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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_70(D) + 12B]' [-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:2062:26: note: 'cx' declared here 2062 | js::array_pop(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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_467(D) + 12B]' [-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:2365:34: note: 'cx' declared here 2365 | js::array_splice_impl(JSContext* cx, unsigned argc, Value* vp, bool returnValueIsUsed) | ~~~~~~~~~~~^~ 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_149(D) + 28B]' [-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:805:30: note: 'cx' declared here 805 | ToUpperCaseHelper(JSContext* cx, CallReceiver 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::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_140(D) + 12B]' [-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:2168:28: note: 'cx' declared here 2168 | js::array_shift(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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_155(D) + 12B]' [-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:2235:30: note: 'cx' declared here 2235 | js::array_unshift(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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_171(D) + 28B]' [-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:833:34: note: 'cx' declared here 833 | str_toLocaleUpperCase(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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 'StringSegmentRange::StringSegmentRange(JSContext*)' at src/third_party/mozjs-45/extract/js/src/jsstr.cpp:1368:38, inlined from 'RopeMatch(JSContext*, JSRope*, JSLinearString*, int*)' at src/third_party/mozjs-45/extract/js/src/jsstr.cpp:1490:32: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'r' in 'MEM[(struct Rooted * *)cx_20(D) + 28B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsstr.cpp: In function 'RopeMatch(JSContext*, JSRope*, JSLinearString*, int*)': src/third_party/mozjs-45/extract/js/src/jsstr.cpp:1490:28: note: 'r' declared here 1490 | StringSegmentRange r(cx); | ^ src/third_party/mozjs-45/extract/js/src/jsstr.cpp:1460:22: note: 'cx' declared here 1460 | RopeMatch(JSContext* cx, JSRope* text, JSLinearString* pat, int* match) | ~~~~~~~~~~~^~ 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_237(D) + 28B]' [-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:2469:27: note: 'cx' declared here 2469 | js::str_search(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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 'StringSegmentRange::StringSegmentRange(JSContext*)' at src/third_party/mozjs-45/extract/js/src/jsstr.cpp:1368:38, inlined from 'BuildFlatReplacement(JSContext*, JS::Handle, JS::Handle, (anonymous namespace)::FlatMatch const&)' at src/third_party/mozjs-45/extract/js/src/jsstr.cpp:2938:32: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'r' in 'MEM[(struct Rooted * *)cx_237(D) + 28B]' [-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:2938:28: note: 'r' declared here 2938 | StringSegmentRange r(cx); | ^ src/third_party/mozjs-45/extract/js/src/jsstr.cpp:2926:33: note: 'cx' declared here 2926 | BuildFlatReplacement(JSContext* cx, HandleString textstr, HandleString repstr, | ~~~~~~~~~~~^~ 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) + 52B]' [-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:1263:36: note: 'cx' declared here 1263 | ArrayReverseDenseKernel(JSContext* cx, HandleObject obj, uint32_t length) | ~~~~~~~~~~~^~ 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_84(D) + 52B]' [-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:1263:36: note: 'cx' declared here 1263 | ArrayReverseDenseKernel(JSContext* cx, HandleObject obj, uint32_t length) | ~~~~~~~~~~~^~ 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_84(D) + 52B]' [-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:1263:36: note: 'cx' declared here 1263 | ArrayReverseDenseKernel(JSContext* cx, HandleObject obj, uint32_t length) | ~~~~~~~~~~~^~ 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_84(D) + 52B]' [-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:1263:36: note: 'cx' declared here 1263 | ArrayReverseDenseKernel(JSContext* cx, HandleObject obj, uint32_t length) | ~~~~~~~~~~~^~ 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_84(D) + 52B]' [-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:1263:36: note: 'cx' declared here 1263 | ArrayReverseDenseKernel(JSContext* cx, HandleObject obj, uint32_t length) | ~~~~~~~~~~~^~ 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_203(D) + 12B]' [-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:1320:26: note: 'cx' declared here 1320 | array_reverse(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ 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_71(D) + 40B]' [-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:2716:36: note: 'cx' declared here 2716 | JSScript::Create(ExclusiveContext* cx, HandleObject enclosingScope, bool savedCallerFun, | ~~~~~~~~~~~~~~~~~~^~ 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) + 40B]' [-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:3672:40: note: 'cx' declared here 3672 | js::CloneScriptIntoFunction(JSContext* cx, HandleObject enclosingScope, HandleFunction fun, | ~~~~~~~~~~~^~ 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) + 40B]' [-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:3656:34: note: 'cx' declared here 3656 | js::CloneGlobalScript(JSContext* cx, Handle enclosingScope, HandleScript src) | ~~~~~~~~~~~^~ In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, js::StringObject*&&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::StringObject::init(JSContext*, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/vm/StringObject-inl.h:23:40: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'self' in 'MEM[(struct Rooted * *)cx_32(D) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsstr.cpp:51: src/third_party/mozjs-45/extract/js/src/vm/StringObject-inl.h: In member function 'js::StringObject::init(JSContext*, JS::Handle)': src/third_party/mozjs-45/extract/js/src/vm/StringObject-inl.h:23:27: note: 'self' declared here 23 | Rooted self(cx, this); | ^~~~ src/third_party/mozjs-45/extract/js/src/vm/StringObject-inl.h:19:31: note: 'cx' declared here 19 | StringObject::init(JSContext* cx, HandleString str) | ~~~~~~~~~~~^~ 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::StringConstructor(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/jsstr.cpp:4073:24: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'str' in 'MEM[(struct Rooted * *)cx_109(D) + 28B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsstr.cpp: In function 'js::StringConstructor(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/jsstr.cpp:4073:18: note: 'str' declared here 4073 | RootedString str(cx); | ^~~ src/third_party/mozjs-45/extract/js/src/jsstr.cpp:4069:34: note: 'cx' declared here 4069 | js::StringConstructor(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ g++ -o build/fedora/third_party/mozjs-45/platform/i386/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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/i386/linux/build -Isrc/third_party/mozjs-45/platform/i386/linux/build -Ibuild/fedora/third_party/mozjs-45/platform/i386/linux/include -Isrc/third_party/mozjs-45/platform/i386/linux/include src/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src36.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::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) + 12B]' [-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:4211:32: note: 'cx' declared here 4211 | js::InitStringClass(JSContext* cx, HandleObject obj) | ~~~~~~~~~~~^~ 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_71(D) + 12B]' [-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:1688:46: note: 'cx' declared here 1688 | ScriptSourceObject::create(ExclusiveContext* cx, ScriptSource* source) | ~~~~~~~~~~~~~~~~~~^~ 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/i386/linux/build/Unified_cpp_js_src36.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 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_221(D) + 28B]' [-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:2426:26: note: 'cx' declared here 2426 | js::str_match(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/HeapAPI.h:12, from src/third_party/mozjs-45/include/js/GCAPI.h:13, from src/third_party/mozjs-45/include/js/Value.h:21, from src/third_party/mozjs-45/extract/js/src/vm/Value.cpp:7, from src/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src36.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 | ^~~~~~~~~~~~~~ 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 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_83(D) + 28B]' [-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:3293:29: note: 'cx' declared here 3293 | StrReplaceRegExp(JSContext* cx, ReplaceData& rdata) | ~~~~~~~~~~~^~ 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 'LambdaIsGetElem(JSContext*, JSObject&, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/jsstr.cpp:3487:52, inlined from 'js::str_replace(JSContext*, unsigned int, JS::Value*)' at src/third_party/mozjs-45/extract/js/src/jsstr.cpp:3555:29: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'fun' in 'MEM[(struct Rooted * *)cx_13(D) + 12B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsstr.cpp: In function 'js::str_replace(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/jsstr.cpp:3487:20: note: 'fun' declared here 3487 | RootedFunction fun(cx, &lambda.as()); | ^~~ src/third_party/mozjs-45/extract/js/src/jsstr.cpp:3539:28: note: 'cx' declared here 3539 | js::str_replace(JSContext* cx, unsigned argc, Value* vp) | ~~~~~~~~~~~^~ g++ -o build/fedora/third_party/mozjs-45/platform/i386/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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/i386/linux/build -Isrc/third_party/mozjs-45/platform/i386/linux/build -Ibuild/fedora/third_party/mozjs-45/platform/i386/linux/include -Isrc/third_party/mozjs-45/platform/i386/linux/include src/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src11.cpp g++ -o build/fedora/third_party/mozjs-45/platform/i386/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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/i386/linux/build -Isrc/third_party/mozjs-45/platform/i386/linux/build -Ibuild/fedora/third_party/mozjs-45/platform/i386/linux/include -Isrc/third_party/mozjs-45/platform/i386/linux/include src/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src34.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/CodeGenerator.h:10, from src/third_party/mozjs-45/extract/js/src/jit/CodeGenerator.cpp:7, from src/third_party/mozjs-45/platform/i386/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/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/String-inl.h:15, from src/third_party/mozjs-45/extract/js/src/vm/String.cpp:7, from src/third_party/mozjs-45/platform/i386/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/vm/String.h:18, from src/third_party/mozjs-45/extract/js/src/vm/String-inl.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/vm/StringBuffer.cpp:11, from src/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src34.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/vm/String.h:11: 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/vm/String.cpp: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/extract/js/src/jsapi.h:29, from src/third_party/mozjs-45/extract/js/src/vm/String.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 | ^~~~~~~~~~~~~~ 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 | ^~~~~~~~~~~~~~ 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 = 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/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::MutableHandle&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'JSCompartment::wrap(JSContext*, JS::MutableHandle, JS::Handle)' at src/third_party/mozjs-45/extract/js/src/jscompartmentinlines.h:106:29: 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) + 52B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/String.cpp:20: src/third_party/mozjs-45/extract/js/src/jscompartmentinlines.h: In member function 'JSCompartment::wrap(JSContext*, JS::MutableHandle, JS::Handle)': src/third_party/mozjs-45/extract/js/src/jscompartmentinlines.h:106:21: note: 'v' declared here 106 | JS::RootedValue v(cx, vp); | ^ src/third_party/mozjs-45/extract/js/src/jscompartmentinlines.h:57:32: note: 'cx' declared here 57 | JSCompartment::wrap(JSContext* cx, JS::MutableHandleValue vp, JS::HandleObject existing) | ~~~~~~~~~~~^~ 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_70(D) + 28B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:917:47: note: 'cx' declared here 917 | AutoStableStringChars::initTwoByte(JSContext* cx, JSString* s) | ~~~~~~~~~~~^~ 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::SymbolDescriptiveString(JSContext*, JS::Symbol*, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/vm/Symbol.cpp:115:44: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'str' in 'MEM[(struct Rooted * *)cx_58(D) + 28B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src34.cpp:29: src/third_party/mozjs-45/extract/js/src/vm/Symbol.cpp: In function 'js::SymbolDescriptiveString(JSContext*, JS::Symbol*, JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/vm/Symbol.cpp:115:18: note: 'str' declared here 115 | RootedString str(cx, sym->description()); | ^~~ src/third_party/mozjs-45/extract/js/src/vm/Symbol.cpp:109:40: note: 'cx' declared here 109 | js::SymbolDescriptiveString(JSContext* cx, Symbol* sym, MutableHandleValue result) | ~~~~~~~~~~~^~ In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(JSContext* const&, JS::Value const&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'js::ValueToStringBufferSlow(JSContext*, JS::Value const&, js::StringBuffer&)' at src/third_party/mozjs-45/extract/js/src/vm/StringBuffer.cpp:152:26: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'v' in 'MEM[(struct Rooted * *)cx_51(D) + 52B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/vm/StringBuffer.cpp: In function 'js::ValueToStringBufferSlow(JSContext*, JS::Value const&, js::StringBuffer&)': src/third_party/mozjs-45/extract/js/src/vm/StringBuffer.cpp:152:17: note: 'v' declared here 152 | RootedValue v(cx, arg); | ^ src/third_party/mozjs-45/extract/js/src/vm/StringBuffer.cpp:150:40: note: 'cx' declared here 150 | js::ValueToStringBufferSlow(JSContext* cx, const Value& arg, StringBuffer& sb) | ~~~~~~~~~~~^~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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/i386/linux/build -Isrc/third_party/mozjs-45/platform/i386/linux/build -Ibuild/fedora/third_party/mozjs-45/platform/i386/linux/include -Isrc/third_party/mozjs-45/platform/i386/linux/include src/third_party/mozjs-45/extract/js/src/jsatom.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 | ^~~~~~~~~~~~~~ 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::ToPropertyKey(JSContext*, JS::Value, JS::MutableHandle)' at src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:577:33: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'key' in 'MEM[(struct Rooted * *)cx_32(D) + 52B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsobjinlines.h: In function 'js::ToPropertyKey(JSContext*, JS::Value, JS::MutableHandle)': src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:577:17: note: 'key' declared here 577 | RootedValue key(cx, argument); | ^~~ src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:574:26: note: 'cx' declared here 574 | ToPropertyKey(JSContext* cx, Value argument, MutableHandleId result) | ~~~~~~~~~~~^~ In member function 'JS::Rooted::registerWithRootLists(js::RootLists&)', inlined from 'JS::Rooted::Rooted(js::ExclusiveContext* const&, JS::Value&)' at src/third_party/mozjs-45/include/js/RootingAPI.h:715:30, inlined from 'ToAtomSlow<(js::AllowGC)1>(js::ExclusiveContext*, js::MaybeRooted::HandleType)JSAtom*' at src/third_party/mozjs-45/extract/js/src/jsatom.cpp:458:21, inlined from 'js::ToAtom<(js::AllowGC)1>(js::ExclusiveContext*, js::MaybeRooted::HandleType)JSAtom*' at src/third_party/mozjs-45/extract/js/src/jsatom.cpp:482:35: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'v2' in 'MEM[(struct Rooted * *)cx_5(D) + 52B]' [-Wdangling-pointer=] 700 | *stack = reinterpret_cast*>(this); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsatom.cpp: In function 'js::ToAtom<(js::AllowGC)1>(js::ExclusiveContext*, js::MaybeRooted::HandleType)JSAtom*': src/third_party/mozjs-45/extract/js/src/jsatom.cpp:458:21: note: 'v2' declared here 458 | RootedValue v2(cx, v); | ^~ src/third_party/mozjs-45/extract/js/src/jsatom.cpp:479:30: note: 'cx' declared here 479 | js::ToAtom(ExclusiveContext* cx, typename MaybeRooted::HandleType v) | ~~~~~~~~~~~~~~~~~~^~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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/i386/linux/build -Isrc/third_party/mozjs-45/platform/i386/linux/build -Ibuild/fedora/third_party/mozjs-45/platform/i386/linux/include -Isrc/third_party/mozjs-45/platform/i386/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 = 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; 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; 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; 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; 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; 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; 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::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 * *)_206 + 44B]' [-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:2246:71: note: 'this' declared here 2246 | bool* pbodyProcessed) | ^ 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 + 12B]' [-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.h:835:51: note: 'this' declared here 835 | Node pushLexicalScope(AutoPushStmtInfoPC& stmt); | ^ 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 + 12B]' [-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.h:835:51: note: 'this' declared here 835 | Node pushLexicalScope(AutoPushStmtInfoPC& stmt); | ^ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 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 '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:2613:18: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'proto' in 'MEM[(struct Rooted * *)_48 + 12B]' [-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:2613:18: note: 'proto' declared here 2613 | RootedObject proto(context); | ^~~~~ src/third_party/mozjs-45/extract/js/src/frontend/Parser.h:731:66: note: 'this' declared here 731 | InvokedPrediction invoked = PredictUninvoked); | ^ 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 '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:2613:18: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'proto' in 'MEM[(struct Rooted * *)_53 + 12B]' [-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:2613:18: note: 'proto' declared here 2613 | RootedObject proto(context); | ^~~~~ src/third_party/mozjs-45/extract/js/src/frontend/Parser.h:731:66: note: 'this' declared here 731 | InvokedPrediction invoked = PredictUninvoked); | ^ 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 'js::frontend::Parser::generatorComprehensionLambda(js::GeneratorKind, unsigned int, js::frontend::ParseNode*)' at src/third_party/mozjs-45/extract/js/src/frontend/Parser.cpp:8151:18: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'proto' in 'MEM[(struct Rooted * *)_110 + 12B]' [-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:8151:18: note: 'proto' declared here 8151 | RootedObject proto(context); | ^~~~~ src/third_party/mozjs-45/extract/js/src/frontend/Parser.h:746:53: note: 'this' declared here 746 | Node innerStmt); | ^ In file included from /usr/include/string.h:535, from /usr/include/c++/13/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)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 'js::frontend::Parser::generatorComprehensionLambda(js::GeneratorKind, unsigned int, js::frontend::SyntaxParseHandler::Node)' at src/third_party/mozjs-45/extract/js/src/frontend/Parser.cpp:8151:18: src/third_party/mozjs-45/include/js/RootingAPI.h:700:16: warning: storing the address of local variable 'proto' in 'MEM[(struct Rooted * *)_74 + 12B]' [-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:8151:18: note: 'proto' declared here 8151 | RootedObject proto(context); | ^~~~~ src/third_party/mozjs-45/extract/js/src/frontend/Parser.h:746:53: note: 'this' declared here 746 | Node innerStmt); | ^ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/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/platform/i386/linux/build/Unified_cpp_js_src0.o build/fedora/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src1.o build/fedora/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src10.o build/fedora/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src11.o build/fedora/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src12.o build/fedora/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src13.o build/fedora/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src14.o build/fedora/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src15.o build/fedora/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src16.o build/fedora/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src17.o build/fedora/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src18.o build/fedora/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src19.o build/fedora/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src2.o build/fedora/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src20.o build/fedora/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src21.o build/fedora/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src22.o build/fedora/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src23.o build/fedora/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src24.o build/fedora/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src25.o build/fedora/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src26.o build/fedora/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src27.o build/fedora/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src28.o build/fedora/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src29.o build/fedora/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src3.o build/fedora/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src30.o build/fedora/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src31.o build/fedora/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src32.o build/fedora/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src33.o build/fedora/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src34.o build/fedora/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src35.o build/fedora/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src36.o build/fedora/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src4.o build/fedora/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src5.o build/fedora/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src6.o build/fedora/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src7.o build/fedora/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src8.o build/fedora/third_party/mozjs-45/platform/i386/linux/build/Unified_cpp_js_src9.o Skipping ranlib for thin archive build/fedora/third_party/mozjs-45/libmozjs.a 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 In file included from src/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move 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/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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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, long 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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_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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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 { | ^~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from /usr/include/string.h:535, from /usr/include/c++/13/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:731: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:970: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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move 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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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/i386/linux/include -Ibuild/fedora -Isrc src/mongo/scripting/mozjs/timestamp.cpp 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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/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/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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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 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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from 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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/base/system_error.cpp 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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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 { | ^~~~~ 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/rpc/legacy_request.cpp 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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/i386/linux/include -Ibuild/fedora -Isrc src/mongo/scripting/mozjs/cursor.cpp 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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move 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/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/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/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move 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/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from 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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/rpc/metadata.cpp 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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 In file included from src/mongo/util/options_parser/option_section.h:29, from src/mongo/util/options_parser/startup_options.h:30, from src/mongo/util/net/ssl_options.cpp:41: src/mongo/util/options_parser/option_description.h:190:24: warning: identifier 'requires' is a keyword in C++20 [-Wc++20-compat] 190 | OptionDescription& requires(const std::string& otherDottedName); | ^~~~~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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/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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/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/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from 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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move 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/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 { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() 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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return 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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::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::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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/i386/linux/include -Ibuild/fedora -Isrc src/mongo/scripting/mozjs/db.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/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/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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 { | ^~~~~ /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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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/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 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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/rpc/legacy_reply.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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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/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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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/i386/linux/include -Ibuild/fedora -Isrc src/mongo/scripting/mozjs/uri.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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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/i386/linux/include -Ibuild/fedora -Isrc src/mongo/scripting/mozjs/numberdecimal.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()) { | ^~ | & 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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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 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 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 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 /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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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/i386/linux/include -Ibuild/fedora -Isrc build/fedora/mongo/scripting/mozjs/mongohelpers_js.cpp 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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/i386/linux/include -Ibuild/fedora -Isrc src/mongo/scripting/mozjs/dbpointer.cpp 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 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 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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/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 { | ^~~~~ 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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return 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, 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::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/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::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++/13/bits/stl_pair.h:194: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::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from 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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call 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 ar rcsTD build/fedora/mongo/db/auth/libinternal_user_auth.a build/fedora/mongo/db/auth/internal_user_auth.o src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call Skipping ranlib for thin archive build/fedora/mongo/db/auth/libinternal_user_auth.a src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move 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/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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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 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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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/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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/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/util/options_parser/option_section.h:29, from src/mongo/db/mongod_options.h:38, from src/mongo/db/repl/topology_coordinator.cpp:41: src/mongo/util/options_parser/option_description.h:190:24: warning: identifier 'requires' is a keyword in C++20 [-Wc++20-compat] 190 | OptionDescription& requires(const std::string& otherDottedName); | ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/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 { | ^~~~~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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/util/string_map.h:36, from src/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 { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [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/repl/topology_coordinator.cpp: In member function 'mongo::repl::HeartbeatResponseAction mongo::repl::TopologyCoordinator::processHeartbeatResponse(mongo::Date_t, mongo::Milliseconds, const mongo::HostAndPort&, const mongo::StatusWith&, mongo::repl::OpTime)': src/mongo/db/repl/topology_coordinator.cpp:1155:49: warning: redundant move in initialization [-Wredundant-move] 1155 | ReplSetHeartbeatResponse hbr = std::move(hbResponse.getValue()); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/repl/topology_coordinator.cpp:1155:49: note: remove 'std::move' call 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from 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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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/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 { | ^~~~~ 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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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/s/sharding_state_recovery.cpp: In static member function 'static mongo::Status mongo::ShardingStateRecovery::recover(mongo::OperationContext*)': src/mongo/db/s/sharding_state_recovery.cpp:241:39: warning: redundant move in initialization [-Wredundant-move] 241 | const auto recoveryDoc = std::move(recoveryDocStatus.getValue()); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/s/sharding_state_recovery.cpp:241:39: note: remove 'std::move' call 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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() { | ^~~~~ ar rcsTD build/fedora/mongo/db/libbackground.a build/fedora/mongo/db/background.o src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::shared_ptr; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ Skipping ranlib for thin archive build/fedora/mongo/db/libbackground.a 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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 { | ^~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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 { | ^~~~~ 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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++/13/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 int) 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 4294967295 exceeds maximum object size 2147483647 [-Wstringop-overread] 102 | return __builtin_memchr (__s, __c, __n); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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/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 src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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 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 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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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 { | ^~~~~ 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/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 { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move 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/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 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/libmongohasher.a build/fedora/mongo/db/hasher.o Skipping ranlib for thin archive build/fedora/mongo/db/libmongohasher.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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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 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 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 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/umath.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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/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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from 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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::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/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::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::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::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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 { | ^~~~~ 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 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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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 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 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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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_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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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_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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/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 { | ^~~~~ In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move 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::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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_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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/db/pipeline/value.h:33, from src/mongo/db/pipeline/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move 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_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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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_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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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/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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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/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/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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/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/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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/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 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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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/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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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: '__memmove_chk' 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]; | ^~~~~~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/ucnvlat1.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/ures_cnv.o -c -std=c11 -flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 Using tempfile /tmp/tmp2uvbu1iv.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/tmp2uvbu1iv.lnk Skipping ranlib for thin archive build/fedora/third_party/icu4c-57.1/source/libicu_common.a 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return 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/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)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126: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/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return 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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/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, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [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/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with 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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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/s/client/shard_remote.cpp: In member function 'virtual mongo::StatusWith mongo::ShardRemote::_runCommand(mongo::OperationContext*, const mongo::ReadPreferenceSetting&, const std::string&, mongo::Milliseconds, const mongo::BSONObj&)': src/mongo/s/client/shard_remote.cpp:202:32: warning: redundant move in initialization [-Wredundant-move] 202 | const auto host = std::move(swHost.getValue()); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~ src/mongo/s/client/shard_remote.cpp:202:32: note: remove 'std::move' call 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 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/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/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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move 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/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 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 ar rcsTD build/fedora/mongo/util/libsafe_num.a build/fedora/mongo/util/safe_num.o Skipping ranlib for thin archive build/fedora/mongo/util/libsafe_num.a 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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, long 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/db/pipeline/value.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 { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 In file included from src/mongo/db/pipeline/value.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 { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, long long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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/pipeline/value.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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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/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 { | ^~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/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/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/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 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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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/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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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/i386/linux/include -Ibuild/fedora -Isrc src/mongo/scripting/mozjs/valuewriter.cpp 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 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 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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from 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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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/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 { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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, long 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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 { | ^~~~~ 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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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/i386/linux/include -Ibuild/fedora -Isrc src/mongo/scripting/mozjs/error.cpp 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/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++/13/bits/stl_pair.h:194: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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* 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 { | ^~~~~ 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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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/i386/linux/include -Ibuild/fedora -Isrc src/mongo/scripting/mozjs/PosixNSPR.cpp 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/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++/13/bits/stl_pair.h:194: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/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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, 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 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 long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long unsigned int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long 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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 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++/13/bits/stl_pair.h:194: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/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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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/i386/linux/include -Ibuild/fedora -Isrc src/mongo/scripting/mozjs/code.cpp 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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/rpc/protocol.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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() 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/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 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 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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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_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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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/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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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++/13/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:731: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:970:26, inlined from 'mongo::FreeMonRegistrationRequest::serialize(mongo::BSONObjBuilder*) const' at build/fedora/mongo/db/free_mon/free_mon_protocol_gen.cpp:184: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/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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/client/mongo_uri.cpp 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 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 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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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 { | ^~~~~ 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from /usr/include/string.h:535, from /usr/include/c++/13/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:731: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:970: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)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/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 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 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 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 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 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 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/mongo/db/repl/libreporter.a build/fedora/mongo/db/repl/reporter.o Skipping ranlib for thin archive build/fedora/mongo/db/repl/libreporter.a 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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/i386/linux/include -Ibuild/fedora -Isrc src/mongo/scripting/mozjs/global.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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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/i386/linux/include -Ibuild/fedora -Isrc src/mongo/scripting/mozjs/mongo.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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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/i386/linux/include -Ibuild/fedora -Isrc src/mongo/scripting/mozjs/numberint.cpp 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 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 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 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 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/transport/libtransport_layer.a build/fedora/mongo/transport/transport_layer_asio.o Skipping ranlib for thin archive build/fedora/mongo/transport/libtransport_layer.a 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 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 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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:194:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 194 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:203:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 203 | memmove(this, &rhs, sizeof(*this)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:212:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 212 | memcpy(this, &rhs, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:213:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 213 | memcpy(&rhs, temp, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:300:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 300 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:78:7: note: 'class mongo::ValueStorage' declared here 78 | class ValueStorage { | ^~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:349:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] 349 | memset(_hashTab, -1, hashTabBytes()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/pipeline/document_internal.h:45:7: note: 'class mongo::Position' declared here 45 | class Position { | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/mongo/util/mongoutils/str.h:43, from 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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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 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 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 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 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 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 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 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 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/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 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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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/i386/linux/include -Ibuild/fedora -Isrc src/mongo/scripting/mozjs/object.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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-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_FILE_OFFSET_BITS=64 -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/i386/linux/include -Ibuild/fedora -Isrc src/mongo/scripting/mozjs/dbcollection.cpp 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 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/third_party/libshim_allocator.a build/fedora/third_party/shim_allocator.o Skipping ranlib for thin archive build/fedora/third_party/libshim_allocator.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 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 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 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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 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 Using tempfile /tmp/tmphxjpobjb.lnk for command line: g++ -o build/fedora/mongo/mongod -pthread -Wl,-z,now -rdynamic -fstack-protector-strong -fuse-ld=gold -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/storage/wiredtiger/libstorage_wiredtiger_customization_hooks.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/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 g++ @/tmp/tmphxjpobjb.lnk In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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++/13/bits/stl_pair.h:194: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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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++/13/bits/stl_pair.h:194: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/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_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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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++/13/bits/stl_pair.h:194: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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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++/13/bits/stl_pair.h:194: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 /usr/include/c++/13/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 int) 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 4294967295 exceeds maximum object size 2147483647 [-Wstringop-overread] 102 | return __builtin_memchr (__s, __c, __n); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ In file included from /usr/include/c++/13/string:54, 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++/13/bits/basic_string.h:2597: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++/13/bits/basic_string.h:223:28: note: source object allocated here 223 | { return _M_dataplus._M_p; } | ~~~~~~~~~~~~^~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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++/13/bits/stl_pair.h:194: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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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++/13/bits/stl_pair.h:194: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 /usr/include/c++/13/bits/shared_ptr_atomic.h:33, from /usr/include/c++/13/memory:81, from src/mongo/s/commands/cluster_aggregate.h:31: In member function 'std::__atomic_base::fetch_add(unsigned int, std::memory_order)', inlined from 'mongo::AtomicWord::fetchAndAdd(unsigned int)' at src/mongo/platform/atomic_word.h:121:32, inlined from 'mongo::AtomicWord::addAndFetch(unsigned int)' at src/mongo/platform/atomic_word.h:143:27, inlined from 'mongo::intrusive_ptr_add_ref(mongo::RefCountable const*)' at src/mongo/util/intrusive_counter.h:101:32, inlined from 'mongo::ValueStorage::operator=(mongo::ValueStorage const&)' at src/mongo/db/pipeline/value_internal.h:188:34, inlined from 'mongo::Value::operator=(mongo::Value const&)' at src/mongo/db/pipeline/value.h:59:7, inlined from 'mongo::MutableValue::operator=(mongo::Value const&)' at src/mongo/db/pipeline/document.h:338:16, inlined from 'mongo::DocumentStream::ValueStream::operator<<(mongo::Value const&)' at src/mongo/db/pipeline/document.h:646:31, inlined from 'mongo::DocumentStream::ValueStream::operator<< (int const&)mongo::DocumentStream&' at src/mongo/db/pipeline/document.h:653:26, inlined from 'mongo::(anonymous namespace)::createCommandForTargetedShards(mongo::OperationContext*, mongo::AggregationRequest const&, mongo::BSONObj, std::unique_ptr const&, mongo::BSONObj, boost::optional)' at src/mongo/s/commands/cluster_aggregate.cpp:214:23: /usr/include/c++/13/bits/atomic_base.h:635:34: warning: '__atomic_add_fetch_4' writing 4 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 635 | { return __atomic_fetch_add(&_M_i, __i, int(__m)); } | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In function 'mongo::(anonymous namespace)::createCommandForTargetedShards(mongo::OperationContext*, mongo::AggregationRequest const&, mongo::BSONObj, std::unique_ptr const&, mongo::BSONObj, boost::optional)': cc1plus: note: destination object is likely at address zero In member function '__ct ', inlined from '__ct ' at src/mongo/util/unordered_fast_key_table.h:169:0, inlined from 'operator=' at src/mongo/util/unordered_fast_key_table.h:174:0, inlined from 'operator=' at src/mongo/util/unordered_fast_key_table.h:63:0, inlined from 'operator=.isra' at src/mongo/db/repl/repl_set_config.h:52:0: src/mongo/util/unordered_fast_key_table.h:164: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | /usr/include/c++/13/new: In member function 'operator=.isra': /usr/include/c++/13/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 member function '__ct ', inlined from '__ct ' at src/mongo/util/unordered_fast_key_table.h:169:0, inlined from 'operator=' at src/mongo/util/unordered_fast_key_table.h:174:0, inlined from 'operator=' at src/mongo/util/unordered_fast_key_table.h:63:0, inlined from 'operator=.isra' at src/mongo/db/repl/repl_set_config.h:52:0: src/mongo/util/unordered_fast_key_table.h:164: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | /usr/include/c++/13/new: In member function 'operator=.isra': /usr/include/c++/13/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) | ^ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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++/13/bits/stl_pair.h:194: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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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 i386 --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_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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 member function '__ct ', inlined from '_grow.constprop' at src/mongo/util/unordered_fast_key_table_internal.h:186:14: src/mongo/util/unordered_fast_key_table.h:164: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | /usr/include/c++/13/new: In function '_grow.constprop': /usr/include/c++/13/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 member function '__ct ', inlined from '_grow.constprop' at src/mongo/util/unordered_fast_key_table_internal.h:186:14: src/mongo/util/unordered_fast_key_table.h:164: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | /usr/include/c++/13/new: In function '_grow.constprop': /usr/include/c++/13/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 member function '__ct ', inlined from '_grow.constprop' at src/mongo/util/unordered_fast_key_table_internal.h:186:14: src/mongo/util/unordered_fast_key_table.h:164: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | /usr/include/c++/13/new: In function '_grow.constprop': /usr/include/c++/13/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 member function '__ct ', inlined from '_grow.constprop' at src/mongo/util/unordered_fast_key_table_internal.h:186:14: src/mongo/util/unordered_fast_key_table.h:164: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | /usr/include/c++/13/new: In function '_grow.constprop': /usr/include/c++/13/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 member function '__ct ', inlined from '_grow.constprop' at src/mongo/util/unordered_fast_key_table_internal.h:186:14: src/mongo/util/unordered_fast_key_table.h:164: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | /usr/include/c++/13/new: In function '_grow.constprop': /usr/include/c++/13/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 member function '__ct ', inlined from '_grow.constprop' at src/mongo/util/unordered_fast_key_table_internal.h:186:14: src/mongo/util/unordered_fast_key_table.h:164: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | /usr/include/c++/13/new: In function '_grow.constprop': /usr/include/c++/13/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_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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/c++/13/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 int) 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 4294967295 exceeds maximum object size 2147483647 [-Wstringop-overread] 102 | return __builtin_memchr (__s, __c, __n); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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++/13/bits/stl_pair.h:194: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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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 '__ct ', inlined from '_grow' at src/mongo/util/unordered_fast_key_table_internal.h:186:14: src/mongo/util/unordered_fast_key_table.h:164: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | /usr/include/c++/13/new: In member function '_grow': /usr/include/c++/13/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 member function '__ct ', inlined from '_grow' at src/mongo/util/unordered_fast_key_table_internal.h:186:14: src/mongo/util/unordered_fast_key_table.h:164: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | /usr/include/c++/13/new: In member function '_grow': /usr/include/c++/13/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) | ^ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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 '__ct ', inlined from '_grow' at src/mongo/util/unordered_fast_key_table_internal.h:186:14: src/mongo/util/unordered_fast_key_table.h:164: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | /usr/include/c++/13/new: In member function '_grow': /usr/include/c++/13/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) | ^ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 member function '__ct ', inlined from '_grow' at src/mongo/util/unordered_fast_key_table_internal.h:186:14: src/mongo/util/unordered_fast_key_table.h:164: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | /usr/include/c++/13/new: In member function '_grow': /usr/include/c++/13/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 member function '__ct ', inlined from '_grow' at src/mongo/util/unordered_fast_key_table_internal.h:186:14: src/mongo/util/unordered_fast_key_table.h:164: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | /usr/include/c++/13/new: In member function '_grow': /usr/include/c++/13/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_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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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++/13/bits/stl_pair.h:194: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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 member function '__ct ', inlined from '_grow' at src/mongo/util/unordered_fast_key_table_internal.h:186:14: src/mongo/util/unordered_fast_key_table.h:164: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | /usr/include/c++/13/new: In member function '_grow': /usr/include/c++/13/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_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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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++/13/bits/stl_pair.h:194: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 member function '__ct ', inlined from '_grow' at src/mongo/util/unordered_fast_key_table_internal.h:186:14: src/mongo/util/unordered_fast_key_table.h:164: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | /usr/include/c++/13/new: In member function '_grow': /usr/include/c++/13/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 member function '__ct ', inlined from '_grow' at src/mongo/util/unordered_fast_key_table_internal.h:186:14: src/mongo/util/unordered_fast_key_table.h:164: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | /usr/include/c++/13/new: In member function '_grow': /usr/include/c++/13/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 member function '__ct ', inlined from '_grow' at src/mongo/util/unordered_fast_key_table_internal.h:186:14: src/mongo/util/unordered_fast_key_table.h:164: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | /usr/include/c++/13/new: In member function '_grow': /usr/include/c++/13/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 member function '__ct ', inlined from '_grow' at src/mongo/util/unordered_fast_key_table_internal.h:186:14: src/mongo/util/unordered_fast_key_table.h:164: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | /usr/include/c++/13/new: In member function '_grow': /usr/include/c++/13/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) | ^ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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++/13/bits/stl_pair.h:194: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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 member function '__ct ', inlined from '_grow' at src/mongo/util/unordered_fast_key_table_internal.h:186:14: src/mongo/util/unordered_fast_key_table.h:164: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | /usr/include/c++/13/new: In member function '_grow': /usr/include/c++/13/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 member function '__ct ', inlined from '__ct ' at src/mongo/util/unordered_fast_key_table.h:169:73, inlined from '__ct ' at src/mongo/util/unordered_fast_key_table.h:63:7, inlined from '__ct ' at /usr/include/c++/13/bits/stl_pair.h:197:17, inlined from 'operator=' at src/mongo/util/unordered_fast_key_table.h:98:17, inlined from 'transfer' at src/mongo/util/unordered_fast_key_table_internal.h:89:39, inlined from '_grow' at src/mongo/util/unordered_fast_key_table_internal.h:187:38: src/mongo/util/unordered_fast_key_table.h:164: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | /usr/include/c++/13/new: In member function '_grow': /usr/include/c++/13/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 member function '__ct ', inlined from '_grow' at src/mongo/util/unordered_fast_key_table_internal.h:186:14: src/mongo/util/unordered_fast_key_table.h:164: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | /usr/include/c++/13/new: In member function '_grow': /usr/include/c++/13/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_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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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++/13/bits/stl_pair.h:194: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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ 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]; | 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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++/13/bits/stl_pair.h:194: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 /usr/include/string.h:535, from /usr/include/c++/13/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_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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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 'memmove', inlined from 'appendTag' at src/third_party/icu4c-57.1/source/common/loclikely.cpp:103:5, inlined from 'createTagStringWithAlternates' at src/third_party/icu4c-57.1/source/common/loclikely.cpp:245:22: /usr/include/bits/string_fortified.h:36:34: warning: '__builtin___memmove_chk' writing between 1 and 5 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 36 | return __builtin___memmove_chk (__dest, __src, __len, | ^ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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++/13/bits/stl_pair.h:194: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 member function '__ct ', inlined from '_grow' at src/mongo/util/unordered_fast_key_table_internal.h:186:14: src/mongo/util/unordered_fast_key_table.h:164: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | /usr/include/c++/13/new: In member function '_grow': /usr/include/c++/13/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) | ^ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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 '__ct ', inlined from '_grow' at src/mongo/util/unordered_fast_key_table_internal.h:186:14: src/mongo/util/unordered_fast_key_table.h:164: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | /usr/include/c++/13/new: In member function '_grow': /usr/include/c++/13/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) | ^ 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++/13/bits/stl_pair.h:194: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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 member function '__ct ', inlined from '_grow' at src/mongo/util/unordered_fast_key_table_internal.h:186:14: src/mongo/util/unordered_fast_key_table.h:164: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | /usr/include/c++/13/new: In member function '_grow': /usr/include/c++/13/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_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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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++/13/bits/stl_pair.h:194: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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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 '__ct ', inlined from '_grow' at src/mongo/util/unordered_fast_key_table_internal.h:186:14: src/mongo/util/unordered_fast_key_table.h:164: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | /usr/include/c++/13/new: In member function '_grow': /usr/include/c++/13/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) | ^ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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++/13/bits/stl_pair.h:194: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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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 '__ct ', inlined from '_grow' at src/mongo/util/unordered_fast_key_table_internal.h:186:14: src/mongo/util/unordered_fast_key_table.h:164: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | /usr/include/c++/13/new: In member function '_grow': /usr/include/c++/13/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) | ^ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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++/13/bits/stl_pair.h:194: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 member function '__ct ', inlined from '_grow' at src/mongo/util/unordered_fast_key_table_internal.h:186:14: src/mongo/util/unordered_fast_key_table.h:164: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | /usr/include/c++/13/new: In member function '_grow': /usr/include/c++/13/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 member function '__ct ', inlined from '_grow' at src/mongo/util/unordered_fast_key_table_internal.h:186:14: src/mongo/util/unordered_fast_key_table.h:164: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | /usr/include/c++/13/new: In member function '_grow': /usr/include/c++/13/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 member function '__ct ', inlined from '_grow' at src/mongo/util/unordered_fast_key_table_internal.h:186:14: src/mongo/util/unordered_fast_key_table.h:164: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | /usr/include/c++/13/new: In member function '_grow': /usr/include/c++/13/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 member function '__ct ', inlined from '__ct ' at src/mongo/util/unordered_fast_key_table.h:169:0, inlined from '__ct ' at src/mongo/util/unordered_fast_key_table.h:63:7, inlined from '__ct ' at /usr/include/c++/13/bits/stl_pair.h:197:17, inlined from 'operator=' at src/mongo/util/unordered_fast_key_table.h:98:17, inlined from 'transfer' at src/mongo/util/unordered_fast_key_table_internal.h:89:39, inlined from '_grow' at src/mongo/util/unordered_fast_key_table_internal.h:187:38: src/mongo/util/unordered_fast_key_table.h:164: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | /usr/include/c++/13/new: In member function '_grow': /usr/include/c++/13/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) | ^ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 member function '__ct ', inlined from '_grow' at src/mongo/util/unordered_fast_key_table_internal.h:186:14: src/mongo/util/unordered_fast_key_table.h:164:35: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | ^ /usr/include/c++/13/new: In member function '_grow': /usr/include/c++/13/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 member function '__ct ', inlined from '_grow' at src/mongo/util/unordered_fast_key_table_internal.h:186:14: src/mongo/util/unordered_fast_key_table.h:164: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | /usr/include/c++/13/new: In member function '_grow': /usr/include/c++/13/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 member function '__ct ', inlined from '_grow' at src/mongo/util/unordered_fast_key_table_internal.h:186:14: src/mongo/util/unordered_fast_key_table.h:164:35: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | ^ /usr/include/c++/13/new: In member function '_grow': /usr/include/c++/13/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 member function '__ct ', inlined from '_grow' at src/mongo/util/unordered_fast_key_table_internal.h:186:14: src/mongo/util/unordered_fast_key_table.h:164: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | /usr/include/c++/13/new: In member function '_grow': /usr/include/c++/13/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_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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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 '__ct ', inlined from '_grow' at src/mongo/util/unordered_fast_key_table_internal.h:186:14: src/mongo/util/unordered_fast_key_table.h:164: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | /usr/include/c++/13/new: In member function '_grow': /usr/include/c++/13/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) | ^ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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 '__ct ', inlined from '_grow' at src/mongo/util/unordered_fast_key_table_internal.h:186:14: src/mongo/util/unordered_fast_key_table.h:164: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | /usr/include/c++/13/new: In member function '_grow': /usr/include/c++/13/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) | ^ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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++/13/bits/stl_pair.h:194: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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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++/13/bits/stl_pair.h:194: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 member function '__ct ', inlined from '_grow' at src/mongo/util/unordered_fast_key_table_internal.h:186:14: src/mongo/util/unordered_fast_key_table.h:164: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | /usr/include/c++/13/new: In member function '_grow': /usr/include/c++/13/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 member function '__ct ', inlined from '_grow' at src/mongo/util/unordered_fast_key_table_internal.h:186:14: src/mongo/util/unordered_fast_key_table.h:164: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | /usr/include/c++/13/new: In member function '_grow': /usr/include/c++/13/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 member function '__ct ', inlined from '__ct_base ' at src/mongo/util/unordered_fast_key_table.h:169:0: src/mongo/util/unordered_fast_key_table.h:164: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | /usr/include/c++/13/new: In member function '__ct_base ': /usr/include/c++/13/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) | ^ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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++/13/bits/stl_pair.h:194: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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 member function '__ct ', inlined from '_grow' at src/mongo/util/unordered_fast_key_table_internal.h:186:14: src/mongo/util/unordered_fast_key_table.h:164: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | /usr/include/c++/13/new: In member function '_grow': /usr/include/c++/13/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_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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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++/13/bits/stl_pair.h:194: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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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++/13/bits/stl_pair.h:194: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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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++/13/bits/stl_pair.h:194: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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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++/13/bits/stl_pair.h:194: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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/commands/strategy.cpp src/mongo/util/unordered_fast_key_table.h: In member function '__ct_base ': src/mongo/util/unordered_fast_key_table.h:164: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | /usr/include/c++/13/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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() 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 '__ct ', inlined from '_grow' at src/mongo/util/unordered_fast_key_table_internal.h:186:14: src/mongo/util/unordered_fast_key_table.h:164: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | /usr/include/c++/13/new: In member function '_grow': /usr/include/c++/13/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 member function '__ct ', inlined from '_grow' at src/mongo/util/unordered_fast_key_table_internal.h:186:14: src/mongo/util/unordered_fast_key_table.h:164: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | /usr/include/c++/13/new: In member function '_grow': /usr/include/c++/13/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) | ^ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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++/13/bits/stl_pair.h:194: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 { | ^~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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++/13/bits/stl_pair.h:194: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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 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; | In file included from src/mongo/db/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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++/13/bits/stl_pair.h:194: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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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++/13/bits/stl_pair.h:194: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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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++/13/bits/stl_pair.h:194: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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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 '__ct ', inlined from '_grow' at src/mongo/util/unordered_fast_key_table_internal.h:186:14: src/mongo/util/unordered_fast_key_table.h:164: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | /usr/include/c++/13/new: In member function '_grow': /usr/include/c++/13/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 member function '__ct ', inlined from '_grow' at src/mongo/util/unordered_fast_key_table_internal.h:186:14: src/mongo/util/unordered_fast_key_table.h:164: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | /usr/include/c++/13/new: In member function '_grow': /usr/include/c++/13/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 member function '__ct ', inlined from '_grow' at src/mongo/util/unordered_fast_key_table_internal.h:186:14: src/mongo/util/unordered_fast_key_table.h:164: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | /usr/include/c++/13/new: In member function '_grow': /usr/include/c++/13/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 member function '__ct ', inlined from '_grow' at src/mongo/util/unordered_fast_key_table_internal.h:186:14: src/mongo/util/unordered_fast_key_table.h:164: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | /usr/include/c++/13/new: In member function '_grow': /usr/include/c++/13/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) | ^ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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++/13/bits/stl_pair.h:194: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 member function '__ct ', inlined from '__ct ' at src/mongo/util/unordered_fast_key_table.h:169:73, inlined from '__ct ' at src/mongo/util/unordered_fast_key_table.h:63:7, inlined from 'getUsageStats' at src/mongo/db/collection_index_usage_tracker.cpp:67:12, inlined from 'getIndexUsageStats' at src/mongo/db/catalog/collection_info_cache_impl.cpp:245:45: src/mongo/util/unordered_fast_key_table.h:164:35: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | ^ /usr/include/c++/13/new: In member function 'getIndexUsageStats': /usr/include/c++/13/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 member function '__ct ', inlined from '_grow' at src/mongo/util/unordered_fast_key_table_internal.h:186:14: src/mongo/util/unordered_fast_key_table.h:164: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | /usr/include/c++/13/new: In member function '_grow': /usr/include/c++/13/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) | ^ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() 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 '__ct ', inlined from '__ct_base ' at src/mongo/util/unordered_fast_key_table.h:169:73: src/mongo/util/unordered_fast_key_table.h:164:35: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | ^ /usr/include/c++/13/new: In member function '__ct_base ': /usr/include/c++/13/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) | ^ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() 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 '__ct ', inlined from '_grow' at src/mongo/util/unordered_fast_key_table_internal.h:186:14: src/mongo/util/unordered_fast_key_table.h:164:35: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | ^ /usr/include/c++/13/new: In member function '_grow': /usr/include/c++/13/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) | ^ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() 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 '__ct ', inlined from '_grow' at src/mongo/util/unordered_fast_key_table_internal.h:186:14: src/mongo/util/unordered_fast_key_table.h:164: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | /usr/include/c++/13/new: In member function '_grow': /usr/include/c++/13/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) | ^ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() 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 '__ct ', inlined from '_grow' at src/mongo/util/unordered_fast_key_table_internal.h:186:14: src/mongo/util/unordered_fast_key_table.h:164: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | /usr/include/c++/13/new: In member function '_grow': /usr/include/c++/13/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 member function '__ct ', inlined from '_grow' at src/mongo/util/unordered_fast_key_table_internal.h:186:14: src/mongo/util/unordered_fast_key_table.h:164: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | /usr/include/c++/13/new: In member function '_grow': /usr/include/c++/13/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) | ^ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 member function '__ct ', inlined from '__ct ' at src/mongo/util/unordered_fast_key_table.h:169:73, inlined from '__ct ' at src/mongo/util/unordered_fast_key_table.h:63:7, inlined from 'getUsageStats' at src/mongo/db/collection_index_usage_tracker.cpp:67:12, inlined from 'getIndexUsageStats' at src/mongo/db/catalog/collection_info_cache_impl.cpp:245:45, inlined from 'getIndexUsageStats' at src/mongo/db/catalog/collection_info_cache.h:121:49, inlined from 'getIndexStats' at src/mongo/db/pipeline/pipeline_d.cpp:614:56: src/mongo/util/unordered_fast_key_table.h:164:35: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | ^ /usr/include/c++/13/new: In member function 'getIndexStats': /usr/include/c++/13/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_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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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 '__ct ', inlined from '__ct ' at src/mongo/util/unordered_fast_key_table.h:169:73, inlined from '__ct ' at src/mongo/util/unordered_fast_key_table.h:63:7, inlined from '__ct_base ' at src/mongo/db/pipeline/document_source.h:591:52: src/mongo/util/unordered_fast_key_table.h:164: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | /usr/include/c++/13/new: In member function '__ct_base ': /usr/include/c++/13/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) | ^ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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++/13/bits/stl_pair.h:194: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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 member function '__ct ', inlined from '_grow' at src/mongo/util/unordered_fast_key_table_internal.h:186:14: src/mongo/util/unordered_fast_key_table.h:164: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | /usr/include/c++/13/new: In member function '_grow': /usr/include/c++/13/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_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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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++/13/bits/stl_pair.h:194: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 member function '__ct ', inlined from '__ct ' at src/mongo/util/unordered_fast_key_table.h:169:73, inlined from '__ct ' at src/mongo/util/unordered_fast_key_table.h:63:7, inlined from '__ct_base ' at src/mongo/db/repl/repl_set_config.h:52:7: src/mongo/util/unordered_fast_key_table.h:164: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | /usr/include/c++/13/new: In member function '__ct_base ': /usr/include/c++/13/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 member function '__ct ', inlined from '__ct ' at src/mongo/util/unordered_fast_key_table.h:169:73, inlined from '__ct ' at src/mongo/util/unordered_fast_key_table.h:63:7, inlined from '__ct_base ' at src/mongo/db/repl/repl_set_config.h:52:7: src/mongo/util/unordered_fast_key_table.h:164: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | /usr/include/c++/13/new: In member function '__ct_base ': /usr/include/c++/13/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 member function '__ct ', inlined from '_grow' at src/mongo/util/unordered_fast_key_table_internal.h:186:14: src/mongo/util/unordered_fast_key_table.h:164: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | /usr/include/c++/13/new: In member function '_grow': /usr/include/c++/13/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) | ^ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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++/13/bits/stl_pair.h:194: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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_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++/13/bits/stl_pair.h:194: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 /usr/include/string.h:535, from /usr/include/c++/13/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)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:278:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::RegexMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] 300 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:300:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ModMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] 344 | return std::move(m); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:344:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::ExistsMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] 380 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:380:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllSetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] 561 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:561:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAllClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] 582 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:582:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnySetMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] 603 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:603:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::BitsAnyClearMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] 624 | return std::move(bitTestMatchExpression); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/matcher/expression_leaf.h:624:25: note: remove 'std::move' call In file included from src/mongo/db/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:30, from src/mongo/db/query/canonical_query.h:38: src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::AndMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:126:25: warning: redundant move in return statement [-Wredundant-move] 126 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:126:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::OrMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:155:25: warning: redundant move in return statement [-Wredundant-move] 155 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:155:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NorMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:184:25: warning: redundant move in return statement [-Wredundant-move] 184 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:184:25: note: remove 'std::move' call src/mongo/db/matcher/expression_tree.h: In member function 'virtual std::unique_ptr mongo::NotMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_tree.h:202:25: warning: redundant move in return statement [-Wredundant-move] 202 | return std::move(self); | ~~~~~~~~~^~~~~~ src/mongo/db/matcher/expression_tree.h:202:25: note: remove 'std::move' call src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CollectionIndexUsageTracker::IndexUsageStats, mongo::StringMapTraits>': src/mongo/db/collection_index_usage_tracker.h:115:61: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CollectionIndexUsageTracker::IndexUsageStats; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::TimeZone, mongo::StringMapTraits>': src/mongo/db/query/datetime/date_time_support.h:427:25: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::TimeZone; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::ExpressionContext::ResolvedNamespace, mongo::StringMapTraits>': src/mongo/db/pipeline/expression_context.h:277:34: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::ExpressionContext::ResolvedNamespace; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() 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 '__ct ', inlined from '__ct ' at src/mongo/util/unordered_fast_key_table.h:169:73, inlined from '__ct ' at src/mongo/util/unordered_fast_key_table.h:63:7, inlined from 'getUsageStats' at src/mongo/db/collection_index_usage_tracker.cpp:67:12: src/mongo/util/unordered_fast_key_table.h:164:35: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | ^ /usr/include/c++/13/new: In member function 'getUsageStats': /usr/include/c++/13/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 member function '__ct ', inlined from '_grow' at src/mongo/util/unordered_fast_key_table_internal.h:186:14: src/mongo/util/unordered_fast_key_table.h:164:35: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | ^ /usr/include/c++/13/new: In member function '_grow': /usr/include/c++/13/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) | ^ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>': /usr/include/c++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::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/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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/util/options_parser/option_section.h:29, from src/mongo/s/mongos_options.h:36, from src/mongo/s/mongos_options_init.cpp:31: src/mongo/util/options_parser/option_description.h:190:24: warning: identifier 'requires' is a keyword in C++20 [-Wc++20-compat] 190 | OptionDescription& requires(const std::string& otherDottedName); | ^~~~~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/util/options_parser/option_section.h:29, from src/mongo/s/mongos_options.h:36, from src/mongo/s/server.cpp:81: src/mongo/util/options_parser/option_description.h:190:24: warning: identifier 'requires' is a keyword in C++20 [-Wc++20-compat] 190 | OptionDescription& requires(const std::string& otherDottedName); | ^~~~~~~~ In file included from src/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++/13/bits/stl_pair.h:194: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/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/util/options_parser/option_section.h:29, from src/mongo/s/mongos_options.h:36, from src/mongo/s/mongos_options.cpp:33: src/mongo/util/options_parser/option_description.h:190:24: warning: identifier 'requires' is a keyword in C++20 [-Wc++20-compat] 190 | OptionDescription& requires(const std::string& otherDottedName); | ^~~~~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/s/version_mongos.cpp 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 Install file: "build/fedora/mongo/mongod" as "mongod" 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/pipeline/value.h:33, from src/mongo/db/pipeline/document_internal.h:37, from src/mongo/db/pipeline/document.h:31, from src/mongo/db/pipeline/dependencies.h:35, from src/mongo/db/matcher/expression.h:40, from src/mongo/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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [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/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 In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/matcher/extensions_callback.h:32, from src/mongo/db/matcher/extensions_callback_noop.h:31, from src/mongo/db/query/canonical_query.h:36: src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::EqualityMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:190:25: warning: redundant move in return statement [-Wredundant-move] 190 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:190:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:212:25: warning: redundant move in return statement [-Wredundant-move] 212 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:212:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::LTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:234:25: warning: redundant move in return statement [-Wredundant-move] 234 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:234:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:256:25: warning: redundant move in return statement [-Wredundant-move] 256 | return std::move(e); | ~~~~~~~~~^~~ src/mongo/db/matcher/expression_leaf.h:256:25: note: remove 'std::move' call src/mongo/db/matcher/expression_leaf.h: In member function 'virtual std::unique_ptr mongo::GTEMatchExpression::shallowClone() const': src/mongo/db/matcher/expression_leaf.h:278:25: warning: redundant move 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/shell/dbshell.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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::Command*, mongo::StringMapTraits>': src/mongo/db/commands.h:859:16: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::Command*; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ Using tempfile /tmp/tmpceqg8_bx.lnk for command line: g++ -o build/fedora/mongo/mongos -pthread -Wl,-z,now -rdynamic -fstack-protector-strong -fuse-ld=gold -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/tmpceqg8_bx.lnk 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/shell/mk_wcwidth.cpp 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 long int, mongo::StringMapTraits>': src/mongo/db/pipeline/variables.h:192:30: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = long long int; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, std::__cxx11::basic_string, mongo::StringMapTraits>': src/mongo/db/matcher/expression_path.h:90:28: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = std::__cxx11::basic_string; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ In file included from src/mongo/db/matcher/expression_text_base.h:31, from src/mongo/db/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++/13/bits/stl_pair.h:194:11: required from 'struct std::pair, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits> >' src/mongo/util/unordered_fast_key_table.h:154:39: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>::Entry' src/mongo/util/unordered_fast_key_table.h:340:11: required from 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>' src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::CompositeIndexabilityDiscriminator; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h: In instantiation of 'class mongo::UnorderedFastKeyTable, mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>, mongo::StringMapTraits>': src/mongo/db/query/plan_cache_indexability.h:142:27: required from here src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:193:16: note: in a call to non-static member function 'mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 193 | Entry* begin() { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = mongo::StringData; K_S = std::__cxx11::basic_string; V = mongo::UnorderedFastKeyTable, mongo::CompositeIndexabilityDiscriminator, mongo::StringMapTraits>; Traits = mongo::StringMapTraits]' 200 | const Entry* begin() const { | ^~~~~ src/mongo/util/unordered_fast_key_table.h:266:45: warning: 'this' pointer is null [-Wnonnull] 266 | typename reference = decltype(AreaPtr()->begin()->getData()), | ^~~~~~~ src/mongo/util/unordered_fast_key_table.h:200:22: note: in a call to non-static member function 'const mongo::UnorderedFastKeyTable::Entry* mongo::UnorderedFastKeyTable::Area::begin() const [with K_L = 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/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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/options_parser/option_section.h:29, from src/mongo/util/options_parser/startup_options.h:30, from src/mongo/shell/shell_options.cpp:52: src/mongo/util/options_parser/option_description.h:190:24: warning: identifier 'requires' is a keyword in C++20 [-Wc++20-compat] 190 | OptionDescription& requires(const std::string& otherDottedName); | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/bson/util/builder.h:47, from src/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 { | ^~~~~ /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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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++/13/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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 In file included from src/mongo/util/options_parser/option_section.h:29, from src/mongo/util/options_parser/startup_options.h:30, from src/mongo/shell/shell_options_init.cpp:35: src/mongo/util/options_parser/option_description.h:190:24: warning: identifier 'requires' is a keyword in C++20 [-Wc++20-compat] 190 | OptionDescription& requires(const std::string& otherDottedName); | ^~~~~~~~ In member function '__ct ', inlined from '_grow.constprop' at src/mongo/util/unordered_fast_key_table_internal.h:186:14: src/mongo/util/unordered_fast_key_table.h:164: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | /usr/include/c++/13/new: In function '_grow.constprop': /usr/include/c++/13/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 member function '__ct ', inlined from '_grow.constprop' at src/mongo/util/unordered_fast_key_table_internal.h:186:14: src/mongo/util/unordered_fast_key_table.h:164: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | /usr/include/c++/13/new: In function '_grow.constprop': /usr/include/c++/13/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 member function '__ct ', inlined from '_grow.constprop' at src/mongo/util/unordered_fast_key_table_internal.h:186:14: src/mongo/util/unordered_fast_key_table.h:164: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | /usr/include/c++/13/new: In function '_grow.constprop': /usr/include/c++/13/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 member function '__ct ', inlined from '_grow.constprop' at src/mongo/util/unordered_fast_key_table_internal.h:186:14: src/mongo/util/unordered_fast_key_table.h:164: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | /usr/include/c++/13/new: In function '_grow.constprop': /usr/include/c++/13/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 member function '__ct ', inlined from '_grow.constprop' at src/mongo/util/unordered_fast_key_table_internal.h:186:14: src/mongo/util/unordered_fast_key_table.h:164: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | /usr/include/c++/13/new: In function '_grow.constprop': /usr/include/c++/13/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 member function '__ct ', inlined from '_grow.constprop' at src/mongo/util/unordered_fast_key_table_internal.h:186:14: src/mongo/util/unordered_fast_key_table.h:164: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | /usr/include/c++/13/new: In function '_grow.constprop': /usr/include/c++/13/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) | ^ 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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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:67:25: warning: redundant move in initialization [-Wredundant-move] 67 | return std::move(db.getStatus()); | ~~~~~~~~~^~~~~~~~~~~~~~~~ src/mongo/shell/mongodbcr.cpp:67:25: note: remove 'std::move' call 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 src/mongo/shell/mongodbcr.cpp: In function 'void mongo::auth::{anonymous}::authMongoCRImpl(mongo::auth::RunCommandHook, const mongo::BSONObj&, mongo::auth::AuthCompletionHandler)': src/mongo/shell/mongodbcr.cpp:123:33: warning: redundant move in initialization [-Wredundant-move] 123 | return handler(std::move(nonceRequest.getStatus())); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/shell/mongodbcr.cpp:123:33: note: remove 'std::move' call In member function '__ct ', inlined from '_grow' at src/mongo/util/unordered_fast_key_table_internal.h:186:14: src/mongo/util/unordered_fast_key_table.h:164: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | /usr/include/c++/13/new: In member function '_grow': /usr/include/c++/13/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 member function '__ct ', inlined from '__ct ' at src/mongo/util/unordered_fast_key_table.h:169:73, inlined from '__ct ' at src/mongo/util/unordered_fast_key_table.h:63:7, inlined from '__ct ' at /usr/include/c++/13/bits/stl_pair.h:197:17, inlined from 'operator=' at src/mongo/util/unordered_fast_key_table.h:98:17, inlined from 'transfer' at src/mongo/util/unordered_fast_key_table_internal.h:89:39, inlined from '_grow' at src/mongo/util/unordered_fast_key_table_internal.h:187:38: src/mongo/util/unordered_fast_key_table.h:164: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | /usr/include/c++/13/new: In member function '_grow': /usr/include/c++/13/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 member function '__ct ', inlined from '_grow' at src/mongo/util/unordered_fast_key_table_internal.h:186:14: src/mongo/util/unordered_fast_key_table.h:164: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | /usr/include/c++/13/new: In member function '_grow': /usr/include/c++/13/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) | ^ 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 Using tempfile /tmp/tmp09lsd3wi.lnk for command line: g++ -o build/fedora/mongo/mongo -pthread -Wl,-z,now -rdynamic -fstack-protector-strong -fuse-ld=gold -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/tmp09lsd3wi.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, | In member function '__ct ', inlined from '__ct ' at src/mongo/util/unordered_fast_key_table.h:169:73, inlined from 'operator=.isra' at src/mongo/util/unordered_fast_key_table.h:174:13: src/mongo/util/unordered_fast_key_table.h:164:35: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | ^ /usr/include/c++/13/new: In member function 'operator=.isra': /usr/include/c++/13/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 member function '__ct ', inlined from '_grow.constprop' at src/mongo/util/unordered_fast_key_table_internal.h:186:14: src/mongo/util/unordered_fast_key_table.h:164: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | /usr/include/c++/13/new: In function '_grow.constprop': /usr/include/c++/13/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) | ^ 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 member function '__ct ', inlined from '_grow' at src/mongo/util/unordered_fast_key_table_internal.h:186:14: src/mongo/util/unordered_fast_key_table.h:164: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | /usr/include/c++/13/new: In member function '_grow': /usr/include/c++/13/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 member function '__ct ', inlined from '_grow' at src/mongo/util/unordered_fast_key_table_internal.h:186:14: src/mongo/util/unordered_fast_key_table.h:164: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | /usr/include/c++/13/new: In member function '_grow': /usr/include/c++/13/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 member function '__ct ', inlined from '_grow' at src/mongo/util/unordered_fast_key_table_internal.h:186:14: src/mongo/util/unordered_fast_key_table.h:164: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | /usr/include/c++/13/new: In member function '_grow': /usr/include/c++/13/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) | ^ src/mongo/util/unordered_fast_key_table.h: In member function '__ct_base ': src/mongo/util/unordered_fast_key_table.h:164: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | /usr/include/c++/13/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 member function '__ct ', inlined from '_grow' at src/mongo/util/unordered_fast_key_table_internal.h:186:14: src/mongo/util/unordered_fast_key_table.h:164: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | /usr/include/c++/13/new: In member function '_grow': /usr/include/c++/13/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 member function '__ct ', inlined from '_grow' at src/mongo/util/unordered_fast_key_table_internal.h:186:14: src/mongo/util/unordered_fast_key_table.h:164: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | /usr/include/c++/13/new: In member function '_grow': /usr/include/c++/13/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 member function '__ct ', inlined from '_grow' at src/mongo/util/unordered_fast_key_table_internal.h:186:14: src/mongo/util/unordered_fast_key_table.h:164: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | /usr/include/c++/13/new: In member function '_grow': /usr/include/c++/13/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 member function '__ct ', inlined from '_grow' at src/mongo/util/unordered_fast_key_table_internal.h:186:14: src/mongo/util/unordered_fast_key_table.h:164: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | /usr/include/c++/13/new: In member function '_grow': /usr/include/c++/13/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 member function '__ct ', inlined from '_grow' at src/mongo/util/unordered_fast_key_table_internal.h:186:14: src/mongo/util/unordered_fast_key_table.h:164: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | /usr/include/c++/13/new: In member function '_grow': /usr/include/c++/13/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 member function '__ct ', inlined from '_grow' at src/mongo/util/unordered_fast_key_table_internal.h:186:14: src/mongo/util/unordered_fast_key_table.h:164: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | /usr/include/c++/13/new: In member function '_grow': /usr/include/c++/13/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 member function '__ct ', inlined from '_grow' at src/mongo/util/unordered_fast_key_table_internal.h:186:14: src/mongo/util/unordered_fast_key_table.h:164: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | /usr/include/c++/13/new: In member function '_grow': /usr/include/c++/13/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 member function '__ct ', inlined from '_grow' at src/mongo/util/unordered_fast_key_table_internal.h:186:14: src/mongo/util/unordered_fast_key_table.h:164: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | /usr/include/c++/13/new: In member function '_grow': /usr/include/c++/13/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 member function '__ct ', inlined from '_grow' at src/mongo/util/unordered_fast_key_table_internal.h:186:14: src/mongo/util/unordered_fast_key_table.h:164: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | /usr/include/c++/13/new: In member function '_grow': /usr/include/c++/13/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 function 'memmove', inlined from 'appendTag' at src/third_party/icu4c-57.1/source/common/loclikely.cpp:103:5, inlined from 'createTagStringWithAlternates' at src/third_party/icu4c-57.1/source/common/loclikely.cpp:245:22: /usr/include/bits/string_fortified.h:36:34: warning: '__builtin___memmove_chk' writing between 1 and 5 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 36 | return __builtin___memmove_chk (__dest, __src, __len, | ^ In member function '__ct ', inlined from '_grow' at src/mongo/util/unordered_fast_key_table_internal.h:186:14: src/mongo/util/unordered_fast_key_table.h:164:35: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | ^ /usr/include/c++/13/new: In member function '_grow': /usr/include/c++/13/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 member function '__ct ', inlined from '_grow' at src/mongo/util/unordered_fast_key_table_internal.h:186:14: src/mongo/util/unordered_fast_key_table.h:164: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | /usr/include/c++/13/new: In member function '_grow': /usr/include/c++/13/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 member function '__ct ', inlined from '_grow' at src/mongo/util/unordered_fast_key_table_internal.h:186:14: src/mongo/util/unordered_fast_key_table.h:164: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | /usr/include/c++/13/new: In member function '_grow': /usr/include/c++/13/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) | ^ 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 member function '__ct ', inlined from '_grow' at src/mongo/util/unordered_fast_key_table_internal.h:186:14: src/mongo/util/unordered_fast_key_table.h:164: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | /usr/include/c++/13/new: In member function '_grow': /usr/include/c++/13/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 member function '__ct ', inlined from '_grow' at src/mongo/util/unordered_fast_key_table_internal.h:186:14: src/mongo/util/unordered_fast_key_table.h:164: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | /usr/include/c++/13/new: In member function '_grow': /usr/include/c++/13/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 member function '__ct ', inlined from '_grow' at src/mongo/util/unordered_fast_key_table_internal.h:186:14: src/mongo/util/unordered_fast_key_table.h:164: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | /usr/include/c++/13/new: In member function '_grow': /usr/include/c++/13/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 member function '__ct ', inlined from '_grow' at src/mongo/util/unordered_fast_key_table_internal.h:186:14: src/mongo/util/unordered_fast_key_table.h:164: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | /usr/include/c++/13/new: In member function '_grow': /usr/include/c++/13/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 member function '__ct ', inlined from '_grow' at src/mongo/util/unordered_fast_key_table_internal.h:186:14: src/mongo/util/unordered_fast_key_table.h:164: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | /usr/include/c++/13/new: In member function '_grow': /usr/include/c++/13/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 member function '__ct ', inlined from '_grow' at src/mongo/util/unordered_fast_key_table_internal.h:186:14: src/mongo/util/unordered_fast_key_table.h:164: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | /usr/include/c++/13/new: In member function '_grow': /usr/include/c++/13/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 member function '__ct ', inlined from '_grow' at src/mongo/util/unordered_fast_key_table_internal.h:186:14: src/mongo/util/unordered_fast_key_table.h:164: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | /usr/include/c++/13/new: In member function '_grow': /usr/include/c++/13/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 member function '__ct ', inlined from '_grow' at src/mongo/util/unordered_fast_key_table_internal.h:186:14: src/mongo/util/unordered_fast_key_table.h:164: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | /usr/include/c++/13/new: In member function '_grow': /usr/include/c++/13/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 member function '__ct ', inlined from '_grow' at src/mongo/util/unordered_fast_key_table_internal.h:186:14: src/mongo/util/unordered_fast_key_table.h:164: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | /usr/include/c++/13/new: In member function '_grow': /usr/include/c++/13/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 member function '__ct ', inlined from '_grow' at src/mongo/util/unordered_fast_key_table_internal.h:186:14: src/mongo/util/unordered_fast_key_table.h:164: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | /usr/include/c++/13/new: In member function '_grow': /usr/include/c++/13/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 member function '__ct ', inlined from '__ct ' at src/mongo/util/unordered_fast_key_table.h:169:0, inlined from '__ct ' at src/mongo/util/unordered_fast_key_table.h:63:7, inlined from '__ct ' at /usr/include/c++/13/bits/stl_pair.h:197:17, inlined from 'operator=' at src/mongo/util/unordered_fast_key_table.h:98:17, inlined from 'transfer' at src/mongo/util/unordered_fast_key_table_internal.h:89:39, inlined from '_grow' at src/mongo/util/unordered_fast_key_table_internal.h:187:38: src/mongo/util/unordered_fast_key_table.h:164: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | /usr/include/c++/13/new: In member function '_grow': /usr/include/c++/13/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 member function '__ct ', inlined from '_grow' at src/mongo/util/unordered_fast_key_table_internal.h:186:14: src/mongo/util/unordered_fast_key_table.h:164: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | /usr/include/c++/13/new: In member function '_grow': /usr/include/c++/13/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 member function '__ct ', inlined from '_grow' at src/mongo/util/unordered_fast_key_table_internal.h:186:14: src/mongo/util/unordered_fast_key_table.h:164: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | /usr/include/c++/13/new: In member function '_grow': /usr/include/c++/13/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 member function '__ct ', inlined from '_grow' at src/mongo/util/unordered_fast_key_table_internal.h:186:14: src/mongo/util/unordered_fast_key_table.h:164: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | /usr/include/c++/13/new: In member function '_grow': /usr/include/c++/13/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 member function '__ct ', inlined from '_grow' at src/mongo/util/unordered_fast_key_table_internal.h:186:14: src/mongo/util/unordered_fast_key_table.h:164: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | /usr/include/c++/13/new: In member function '_grow': /usr/include/c++/13/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 member function '__ct ', inlined from '__ct_base ' at src/mongo/util/unordered_fast_key_table.h:169:0: src/mongo/util/unordered_fast_key_table.h:164: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | /usr/include/c++/13/new: In member function '__ct_base ': /usr/include/c++/13/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 member function '__ct ', inlined from '_grow' at src/mongo/util/unordered_fast_key_table_internal.h:186:14: src/mongo/util/unordered_fast_key_table.h:164: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | /usr/include/c++/13/new: In member function '_grow': /usr/include/c++/13/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 member function '__ct ', inlined from '_grow' at src/mongo/util/unordered_fast_key_table_internal.h:186:14: src/mongo/util/unordered_fast_key_table.h:164: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | /usr/include/c++/13/new: In member function '_grow': /usr/include/c++/13/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 member function '__ct ', inlined from '_grow' at src/mongo/util/unordered_fast_key_table_internal.h:186:14: src/mongo/util/unordered_fast_key_table.h:164:35: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | ^ /usr/include/c++/13/new: In member function '_grow': /usr/include/c++/13/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 member function '__ct ', inlined from '_grow' at src/mongo/util/unordered_fast_key_table_internal.h:186:14: src/mongo/util/unordered_fast_key_table.h:164: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | /usr/include/c++/13/new: In member function '_grow': /usr/include/c++/13/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 member function '__ct ', inlined from '_grow' at src/mongo/util/unordered_fast_key_table_internal.h:186:14: src/mongo/util/unordered_fast_key_table.h:164: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | /usr/include/c++/13/new: In member function '_grow': /usr/include/c++/13/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 member function '__ct ', inlined from '_grow' at src/mongo/util/unordered_fast_key_table_internal.h:186:14: src/mongo/util/unordered_fast_key_table.h:164: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | /usr/include/c++/13/new: In member function '_grow': /usr/include/c++/13/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 member function '__ct ', inlined from '_grow' at src/mongo/util/unordered_fast_key_table_internal.h:186:14: src/mongo/util/unordered_fast_key_table.h:164: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | /usr/include/c++/13/new: In member function '_grow': /usr/include/c++/13/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 member function '__ct ', inlined from '__ct ' at src/mongo/util/unordered_fast_key_table.h:169:73, inlined from '__ct ' at src/mongo/util/unordered_fast_key_table.h:63:7, inlined from 'make_unique' at /usr/include/c++/13/bits/unique_ptr.h:1070:30, inlined from '_mongoInitializerFunction_PathlessOperatorMap' at src/mongo/db/matcher/expression_parser.cpp:1803:72: src/mongo/util/unordered_fast_key_table.h:164: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | /usr/include/c++/13/new: In function '_mongoInitializerFunction_PathlessOperatorMap': /usr/include/c++/13/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 member function '__ct ', inlined from '__ct ' at src/mongo/util/unordered_fast_key_table.h:169:73, inlined from '__ct ' at src/mongo/util/unordered_fast_key_table.h:63:7, inlined from '__ct_base ' at src/mongo/db/pipeline/document_source.h:591:52: src/mongo/util/unordered_fast_key_table.h:164: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | /usr/include/c++/13/new: In member function '__ct_base ': /usr/include/c++/13/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 member function '__ct ', inlined from '_grow' at src/mongo/util/unordered_fast_key_table_internal.h:186:14: src/mongo/util/unordered_fast_key_table.h:164: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | /usr/include/c++/13/new: In member function '_grow': /usr/include/c++/13/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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/options_parser/option_section.h:29, from src/mongo/util/options_parser/startup_options.h:30, from src/mongo/tools/mongobridge_options_init.cpp:36: src/mongo/util/options_parser/option_description.h:190:24: warning: identifier 'requires' is a keyword in C++20 [-Wc++20-compat] 190 | OptionDescription& requires(const std::string& otherDottedName); | ^~~~~~~~ In file included from src/mongo/util/string_map.h:36, from src/mongo/bson/bsontypes.h:37, from src/mongo/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/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/tools/mongobridge_options.cpp In file included from src/mongo/util/options_parser/option_section.h:29, from src/mongo/util/options_parser/startup_options.h:30, from src/mongo/tools/mongobridge_options.cpp:39: src/mongo/util/options_parser/option_description.h:190:24: warning: identifier 'requires' is a keyword in C++20 [-Wc++20-compat] 190 | OptionDescription& requires(const std::string& otherDottedName); | ^~~~~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/fedora -Isrc src/mongo/tools/bridge.cpp 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -ffloat-store -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -march=nocona -mtune=generic -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -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 { | ^~~~~ Using tempfile /tmp/tmpsgpjlj3_.lnk for command line: g++ -o build/fedora/mongo/tools/mongobridge -pthread -Wl,-z,now -rdynamic -fstack-protector-strong -fuse-ld=gold -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/tmpsgpjlj3_.lnk In member function '__ct ', inlined from '_grow' at src/mongo/util/unordered_fast_key_table_internal.h:186:14: src/mongo/util/unordered_fast_key_table.h:164:35: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | ^ /usr/include/c++/13/new: In member function '_grow': /usr/include/c++/13/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 member function '__ct ', inlined from '_grow' at src/mongo/util/unordered_fast_key_table_internal.h:186:14: src/mongo/util/unordered_fast_key_table.h:164:35: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | ^ /usr/include/c++/13/new: In member function '_grow': /usr/include/c++/13/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 member function '__ct ', inlined from '_grow' at src/mongo/util/unordered_fast_key_table_internal.h:186:14: src/mongo/util/unordered_fast_key_table.h:164:35: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | ^ /usr/include/c++/13/new: In member function '_grow': /usr/include/c++/13/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 member function '__ct ', inlined from '_grow' at src/mongo/util/unordered_fast_key_table_internal.h:186:14: src/mongo/util/unordered_fast_key_table.h:164:35: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | ^ /usr/include/c++/13/new: In member function '_grow': /usr/include/c++/13/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 member function '__ct ', inlined from '_grow' at src/mongo/util/unordered_fast_key_table_internal.h:186:14: src/mongo/util/unordered_fast_key_table.h:164:35: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | ^ /usr/include/c++/13/new: In member function '_grow': /usr/include/c++/13/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 member function '__ct ', inlined from '_grow' at src/mongo/util/unordered_fast_key_table_internal.h:186:14: src/mongo/util/unordered_fast_key_table.h:164:35: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | ^ /usr/include/c++/13/new: In member function '_grow': /usr/include/c++/13/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) | ^ 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; | ^ In member function '__ct ', inlined from '_grow.constprop' at src/mongo/util/unordered_fast_key_table_internal.h:186:14: src/mongo/util/unordered_fast_key_table.h:164:35: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | ^ /usr/include/c++/13/new: In function '_grow.constprop': /usr/include/c++/13/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 member function '__ct ', inlined from '_grow.constprop' at src/mongo/util/unordered_fast_key_table_internal.h:186:14: src/mongo/util/unordered_fast_key_table.h:164:35: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | ^ /usr/include/c++/13/new: In function '_grow.constprop': /usr/include/c++/13/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 member function '__ct ', inlined from '_grow.constprop' at src/mongo/util/unordered_fast_key_table_internal.h:186:14: src/mongo/util/unordered_fast_key_table.h:164:35: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | ^ /usr/include/c++/13/new: In function '_grow.constprop': /usr/include/c++/13/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/tools/mongobridge" as "mongobridge" In member function '__ct ', inlined from '_grow' at src/mongo/util/unordered_fast_key_table_internal.h:186:14: src/mongo/util/unordered_fast_key_table.h:164: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | /usr/include/c++/13/new: In member function '_grow': /usr/include/c++/13/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 member function '__ct ', inlined from '_grow' at src/mongo/util/unordered_fast_key_table_internal.h:186:14: src/mongo/util/unordered_fast_key_table.h:164: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | /usr/include/c++/13/new: In member function '_grow': /usr/include/c++/13/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 member function '__ct ', inlined from '_grow' at src/mongo/util/unordered_fast_key_table_internal.h:186:14: src/mongo/util/unordered_fast_key_table.h:164: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 164 | _entries(capacity ? new Entry[capacity] : nullptr) { | /usr/include/c++/13/new: In member function '_grow': /usr/include/c++/13/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/mongo" as "mongo" scons: done building targets. + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.2cXsG5 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386 ++ dirname /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + 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/lib: + 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.i386/usr/bin/mongod + install -p -D -m 755 mongos /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/bin/mongos + install -p -D -m 755 mongo /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/bin/mongo + install -p -D -m 755 mongobridge /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/bin/mongobridge + mkdir -p /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/var/lib/mongodb + mkdir -p /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/var/log/mongodb + mkdir -p /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/var/run/mongodb + mkdir -p /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/etc/sysconfig + install -p -D -m 644 /builddir/build/SOURCES/mongodb-tmpfile /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/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.i386/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.i386/etc/logrotate.d/mongodb + install -p -D -m 644 /builddir/build/SOURCES/mongod.conf /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/etc/mongod.conf + install -p -D -m 644 /builddir/build/SOURCES/mongos.conf /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/etc/mongos.conf + install -p -D -m 644 /builddir/build/SOURCES/mongod.sysconf /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/etc/sysconfig/mongod + install -p -D -m 644 /builddir/build/SOURCES/mongos.sysconf /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/etc/sysconfig/mongos + install -d -m 755 /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/man/man1 + install -p -m 644 debian/mongo.1 /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/man/man1/ + install -p -m 644 debian/mongod.1 /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/man/man1/ + install -p -m 644 debian/mongos.1 /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/man/man1/ + mkdir -p /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test + mkdir -p /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/var + mkdir -p /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts + mkdir -p /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/ciconfig + install -p -D -m 755 buildscripts/resmoke.py /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/ + install -p -D -m 444 buildscripts/__init__.py /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/ + install -p -D -m 444 buildscripts/ciconfig/__init__.py /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/ciconfig + install -p -D -m 444 buildscripts/ciconfig/tags.py /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/ciconfig + cp -R buildscripts/resmokeconfig /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/ + cp -R buildscripts/resmokelib /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/ + cp -R jstests /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/ ++ find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/tool/tsv1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/tool/tool_replset.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/tool/tool1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/tool/stat1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/tool/shell_mkdir.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/tool/restorewithauth.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/tool/gridfs.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/tool/files1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/tool/exportimport_minkey_maxkey.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/tool/exportimport_date.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/tool/exportimport_bigarray.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/tool/exportimport6.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/tool/exportimport5.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/tool/exportimport4.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/tool/exportimport3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/tool/exportimport1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/tool/dumpsecondary.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/tool/dumprestore_excludecollections.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/tool/dumprestore_auth3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/tool/dumprestore_auth2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/tool/dumprestore_auth.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/tool/dumprestoreWithNoOptions.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/tool/dumprestore9.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/tool/dumprestore8.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/tool/dumprestore7.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/tool/dumprestore6.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/tool/dumprestore4.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/tool/dumprestore3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/tool/dumprestore10.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/tool/dumprestore1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/tool/dumpfilename1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/tool/dumpauth.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/tool/data/dumprestore6/system.indexes.bson + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/tool/data/dumprestore6/foo.bson + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/tool/data/csvimport1.csv + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/tool/data/a.tsv + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/tool/csvimport1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/tool/csvexport2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/tool/csvexport1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/tool/csv1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/tool/command_line_quotes.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sslSpecial/upgrade_to_ssl_nossl.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sslSpecial/ssl_mixedmode.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sslSpecial/set_parameter_nossl.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sslSpecial/mixed_mode_sharded_nossl.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sslSpecial/mixed_mode_repl_nossl.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sslSpecial/SERVER-26369.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/ssl/x509_startup_warning.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/ssl/x509_multivalue.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/ssl/x509_invalid.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/ssl/x509_custom.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/ssl/x509_client.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/ssl/x509_all_the_oids.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/ssl/upgrade_to_x509_ssl.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/ssl/upgrade_to_ssl.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/ssl/tls1_0.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/ssl/ssl_x509_roles.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/ssl/ssl_without_ca.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/ssl/ssl_withhold_client_cert.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/ssl/ssl_with_system_ca.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/ssl/ssl_weak.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/ssl/ssl_uri.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/ssl/ssl_restricted_protocols.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/ssl/ssl_private_key.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/ssl/ssl_options.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/ssl/ssl_invalid_server_cert.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/ssl/ssl_hostname_validation.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/ssl/ssl_get_more.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/ssl/ssl_fragment.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/ssl/ssl_fips.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/ssl/ssl_crl_revoked.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/ssl/ssl_crl.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/ssl/ssl_count_protocols.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/ssl/ssl_cluster_file.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/ssl/ssl_cluster_ca.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/ssl/ssl_cert_selector_apple.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/ssl/ssl_cert_selector.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/ssl/ssl_cert_password.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/ssl/ssl_alert_reporting.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/ssl/shell_x509_system_user.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/ssl/shell_option_parsing.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/ssl/sharding_with_x509.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/ssl/set_parameter_ssl.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/ssl/repl_ssl_noca.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/ssl/mixed_mode_sharded_transition.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/ssl/mixed_mode_sharded.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/ssl/mixed_mode_repl.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/ssl/libs/ssl_helpers.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/ssl/initial_sync1_x509.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/ssl/disable_x509.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/ssl/dh_params.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/slow1/sharding_multiple_collections.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/slow1/replsets_priority1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/slow1/mr_during_migrate.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/slow1/large_role_chain.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/slow1/initial_sync_many_dbs.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/slow1/conc_update.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/zero_shard_version.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/zbigMapReduce.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/write_transactions_during_migration.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/write_commands_sharding_state.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/write_cmd_auto_split.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/views.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/view_rewrite.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/version2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/version1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/validate_collection.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/user_flags_sharded.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/upsert_sharded.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/update_zone_key_range.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/update_sharded.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/update_immutable_fields.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/unowned_doc_filtering.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/trace_missing_docs_test.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/top_chunk_split.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/top_chunk_autosplit.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/time_zone_info_mongos.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/test_stacked_migration_cleanup.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/tag_range.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/tag_auto_split.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/stats.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/stale_version_write.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/ssv_config_check.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/split_with_force_small.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/split_with_force.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/split_stale_mongos.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/split_large_key.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/sort1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/sharding_with_keyfile.key + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/sharding_system_namespaces.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/sharding_rs2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/sharding_rs1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/sharding_options.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/sharding_multiple_ns_rs.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/sharding_migrate_cursor1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/sharding_balance4.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/sharding_balance3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/sharding_balance2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/sharding_balance1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/sharded_profile.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/sharded_limit_batchsize.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/shard_targeting.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/shard_kill_and_pooling.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/shard_keycount.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/shard_key_immutable.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/shard_insert_getlasterror_w2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/shard_identity_rollback.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/shard_identity_config_update.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/shard_existing.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/shard_config_db_collections.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/shard_collection_existing_zones.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/shard_collection_basic.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/shard_aware_primary_failover.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/shard_aware_init_secondaries.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/shard_aware_init.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/shard7.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/shard6.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/shard5.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/shard4.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/shard3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/shard2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/shard1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/sessions_collection_auto_healing.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/session_info_in_oplog.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/server_status.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/secondary_shard_versioning.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/rs_stepdown_and_pooling.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/return_partial_shards_down.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/retryable_writes.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/resume_change_stream.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/replmonitor_bad_seed.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/repl_monitor_refresh.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/rename_across_mongos.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/rename.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/remove_shard_from_zone.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/remove3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/remove2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/remove1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/regex_targeting.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/refresh_sessions.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/recovering_slaveok.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/read_pref_cmd.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/read_pref.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/read_committed_lookup.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/read_after_optime.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/query_sharded.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/query_config.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/query_after_multi_write.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/printShardingStatus.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/presplit.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/prefix_shard_key.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/pending_chunk.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/parallel.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/oplog_document_key.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/operation_time_api.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/nonreplicated_uuids_on_shardservers.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/no_empty_reset.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/noUpdateButN1inAnotherCollection.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/names.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/multi_write_target.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/multi_mongos2a.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/multi_mongos2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/multi_coll_drop.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/mr_shard_version.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/mr_noscripting.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/mr_and_agg_versioning.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/mrShardedOutputAuth.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/mrShardedOutput.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/movechunk_with_noMoveParanoia.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/movechunk_with_moveParanoia.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/movechunk_with_default_paranoia.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/movechunk_parallel.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/movechunk_include.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/movechunk_commit_changelog_stats.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/move_stale_mongos.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/move_primary_fcv_40.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/move_primary_clone_test.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/move_primary_basic.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/move_chunk_wc.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/move_chunk_open_cursors.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/move_chunk_missing_idx.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/move_chunk_basic.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/movePrimary1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/mongos_wait_csrs_initiate.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/mongos_validate_writes.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/mongos_shard_failure_tolerance.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/mongos_query_comment.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/mongos_no_detect_sharding.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/mongos_local_explain.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/missing_key.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/migration_with_source_ops.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/migration_sets_fromMigrate_flag.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/migration_server_status.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/migration_ignore_interrupts_4.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/migration_ignore_interrupts_3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/migration_ignore_interrupts_2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/migration_ignore_interrupts_1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/migration_id_index.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/migration_failure.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/migration_critical_section_concurrency.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/migrate_overwrite_id.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/migrateBig_balancer.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/migrateBig.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/merge_chunks_test.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/max_time_ms_sharded.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/map_reduce_validation.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/mapReduce_outSharded_checkUUID.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/mapReduce_outSharded.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/mapReduce_nonSharded.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/mapReduce_inSharded_outSharded.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/mapReduce_inSharded.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/major_version_check.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/logical_time_metadata.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/logical_time_api.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/localhostAuthBypass.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/listshards.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/listDatabases.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/linearizable_read_concern.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/limit_push.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/large_skip_one_shard.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/large_chunk.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/lagged_config_secondary.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/killop.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/kill_sessions.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/kill_pinned_cursor.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/kill_op_overflow.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/keys_rotation_interval_sec.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/key_string.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/key_rotation.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/key_many.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/jumbo1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/json_schema.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/ismaster.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/inserts_consistent.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/index1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/in_memory_sort_limit.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/implicit_db_creation.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/idhack_sharded.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/hash_single_shard.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/hash_shard_unique_compound.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/hash_shard_num_chunks.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/hash_shard_non_empty.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/hash_shard1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/hash_basic.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/group_slaveok.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/geo_near_sort.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/geo_near_sharded.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/geo_near_random2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/geo_near_random1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/fts_score_sort_sharded.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/forget_mr_temp_ns.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/findandmodify2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/findandmodify1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/find_getmore_cmd.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/features3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/features2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/features1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/explain_read_pref.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/explain_cmd.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/explain_agg_read_pref.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/explainFind_stale_mongos.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/exact_shard_key_target.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/error_propagation.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/error_during_agg_getmore.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/enforce_zone_policy.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/enable_sharding_basic.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/empty_doc_results.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/empty_cluster_init.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/dump_coll_metadata.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/drop_sharded_db.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/drop_configdb.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/disable_autosplit.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/diffservers1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/delete_during_migrate.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/database_versioning_upgrade_downgrade.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/cursor_timeout.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/cursor_cleanup.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/cursor1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/current_op_no_shards.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/create_idx_empty_primary.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/create_database.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/covered_shard_key_indexes.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/count_slaveok.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/count_config_servers.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/count2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/count1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/copydb_from_mongos.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/conn_pool_stats.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/config_rs_no_primary.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/config_rs_change.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/collation_targeting_inherited.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/collation_targeting.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/coll_epoch_test2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/coll_epoch_test1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/coll_epoch_test0.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/clone_catalog_data.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/cleanup_orphaned_compound.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/cleanup_orphaned_cmd_prereload.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/cleanup_orphaned_cmd_hashed.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/cleanup_orphaned_basic.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/cleanup_orphaned_auth.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/cleanup_orphaned.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/change_streams_whole_db.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/change_streams.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/change_stream_shard_failover.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/change_stream_read_preference.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/change_stream_no_shards.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/change_stream_metadata_notifications.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/change_stream_chunk_migration.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/causal_consistency_shell_support.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/bulk_shard_insert.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/bulk_insert.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/bouncing_count.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/batch_write_command_sharded.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/basic_split.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/basic_sharding_params.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/basic_merge.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/basic_drop_coll.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/balancer_window.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/balancer_shell_commands.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/balance_repl.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/autosplit_with_balancer.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/autosplit_heuristics.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/autosplit.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/auto_rebalance_parallel.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/authwhere.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/authmr.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/auth_slaveok_routing.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/auth_sharding_cmd_metadata.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/auth_repl.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/auth_no_config_primary.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/auth_copydb.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/auth_add_shard.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/authConnectionHook.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/authCommands.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/auth2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/auth.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/array_shard_key.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/allow_partial_results.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/aggregations_in_session.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/aggregation_currentop.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/agg_sort.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/after_cluster_time.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/addshard_idempotent.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/addshard6.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/addshard5.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/addshard4.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/addshard2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/addshard1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/add_shard_to_zone.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/accurate_count_with_predicate.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding/SERVER-7379.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/serial_run/srv-uri.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/serial_run/memory.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/serial_run/index_multi.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/serial_run/README + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/zero_vote_arbiter.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/write_concern_after_stepdown.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/user_management_wc.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/uninitialized_fcv_access.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/transient_txn_error_labels.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/transaction_table_oplog_replay.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/too_stale_secondary.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/test_command.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/temp_namespace.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/tags_with_reconfig.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/tags2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/tags.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/system_profile_secondary.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/system_profile.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/sync_passive.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/sync2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/stepup.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/stepdown_needs_majority.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/stepdown_needs_electable_secondary.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/stepdown_long_wait_time.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/stepdown_killop.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/stepdown_kill_other_ops.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/stepdown_catch_up_opt.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/stepdown3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/stepdown.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/step_down_during_draining3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/step_down_during_draining2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/step_down_during_draining.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/startParallelShell.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/speculative_transaction.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/speculative_read_transaction.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/slaveok_read_pref.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/slavedelay3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/slavedelay1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/slave_delay_clean_shutdown.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/sized_zero_capped.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/single_server_majority.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/shutdown_primary.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/shutdown.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/sessions_collection_auto_healing.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/server_status_repl.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/server_status_metrics.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/server8070.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/secondary_reads_unique_indexes.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/secondary_reads_timestamp_visibility.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/rslib.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/rollback_views.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/rollback_transactions_count.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/rollback_transaction_table.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/rollback_time_limit_param.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/rollback_rename_count.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/rollback_remote_cursor_retry.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/rollback_drop_database.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/rollback_different_h.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/rollback_ddl_op_sequences.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/rollback_crud_op_sequences.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/rollback_creates_rollback_directory.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/rollback_collmods.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/rollback_collMod_fatal.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/rollback_cmd_unrollbackable.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/rollback_capped_deletions.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/rollback_auth.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/rollback_all_op_types.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/retryable_writes_failover.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/retryable_write_concern.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/restore_term.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/request_primary_stepdown.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/replsets_killop.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/replsetrestart1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/replsetprio1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/replsethostnametrim.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/replsetfreeze.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/replsetarb2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/replsetadd_profile.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/replset8.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/replset6.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/replset5.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/replset4.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/replset3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/replset2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/replset1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/repl_options.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/rename_collection_temp.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/rename_across_dbs.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/remove1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/reindex_secondary.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/refresh_sessions_rs.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/reconfig_tags.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/reconfig_prohibits_w0.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/reconfig.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/read_majority_two_arbs.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/read_concern_uninitated_set.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/read_committed_stale_history.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/read_committed_on_secondary.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/read_committed_no_snapshots.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/read_committed_lookup.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/read_committed_after_rollback.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/read_committed.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/read_after_optime.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/priority_takeover_cascading_priorities.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/plan_cache_slaveok.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/pipelineout.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/optime.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/oplog_wallclock.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/oplog_truncated_on_recovery.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/oplog_term.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/oplog_replay_on_startup.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/oplog_note_cmd.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/oplog_format_create_indexes.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/oplog_format.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/no_chaining.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/mmap_disallows_rc_majority.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/maxSyncSourceLagSecs.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/maintenance_non-blocking.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/maintenance2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/maintenance.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/localhostAuthBypass.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/localhost3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/localhost2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/localhost1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/linearizable_read_concern.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/libs/two_phase_drops.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/libs/tags.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/libs/secondary_reads_test.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/libs/rollback_test_deluxe.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/libs/rollback_test.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/libs/rename_across_dbs.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/libs/election_handoff.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/lastop.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/last_vote.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/last_op_visible.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/ismaster1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/invalid_index_spec.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/interrupted_batch_insert.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/initiate_prohibits_w0.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/initiate.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/initial_sync_visibility.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/initial_sync_views.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/initial_sync_replSetGetStatus.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/initial_sync_rename_collection.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/initial_sync_oplog_rollover.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/initial_sync_move_forward.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/initial_sync_invalid_views.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/initial_sync_fcv.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/initial_sync_drop_collection.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/initial_sync_document_validation.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/initial_sync_cloner_dups.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/initial_sync_capped_index.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/initial_sync_applier_error.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/initial_sync4.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/initial_sync2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/initial_sync1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/index_restart_secondary.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/index_delete.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/id_index_replication.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/groupAndMapReduce.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/get_status.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/get_replication_info_helper.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/fsync_lock_read_secondaries.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/force_sync_source_candidate.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/find_and_modify_wc.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/explain_slaveok.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/emptycapped.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/election_handoff_one_unelectable.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/election_handoff_higher_priority.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/election_handoff_flip.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/election_handoff_basic.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/drop_oplog.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/drop_databases_two_phase.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/drop_collections_two_phase.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/drain.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/double_rollback_early.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/double_rollback.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/disallow_adding_initialized_node2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/disallow_adding_initialized_node1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/dbhash_system_collections.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/dbhash_lock_acquisition.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/dbhash_at_cluster_time.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/dbcheck.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/copydb.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/config_server_checks.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/command_response_operation_time.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/collate_id.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/cloneDb.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/clean_shutdown_oplog_state.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/chaining_removal.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/catchup.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/capped_insert_order.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/bulk_api_wc.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/buildindexes.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/batch_write_command_wc.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/background_index.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/await_replication_timeout.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/auth_no_pri.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/auth2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/auth1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/apply_ops_wc.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/apply_ops_lastop.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/apply_ops_idempotency.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/apply_ops_create_view.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/apply_ops_create_indexes.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/apply_batches_totalMillis.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/already_checked_out_session.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/readonly/write_ops.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/readonly/temp_collection.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/readonly/server_status.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/readonly/lib/read_only_test.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/readonly/get_more.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/readonly/geo.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/readonly/find.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/readonly/distinct.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/readonly/count.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/readonly/catalog_ops.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/readonly/aggregate.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/perf/v8_mapreduce.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/perf/remove1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/perf/mr_bench.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/perf/index1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/perf/geo_near1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/perf/find1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/perf/compact_speed_test.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/parallel/update_serializability2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/parallel/update_serializability1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/parallel/shellfork.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/parallel/manyclients.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/parallel/insert.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/parallel/del.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/parallel/checkMultiThread.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/parallel/basicPlus.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/parallel/basic.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/parallel/allops.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthroughWithMongod/wt_roundtrip_creation_string.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthroughWithMongod/views_invalid.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthroughWithMongod/validate_interrupt.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthroughWithMongod/validate_command.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthroughWithMongod/ttl_sharded.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthroughWithMongod/ttl_repl_secondary_disabled.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthroughWithMongod/ttl_repl_maintenance.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthroughWithMongod/ttl_repl.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthroughWithMongod/ttl1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthroughWithMongod/top_drop.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthroughWithMongod/testing_only_commands.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthroughWithMongod/temp_namespace.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthroughWithMongod/shelllimit.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthroughWithMongod/shell_advance_cluster_time.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthroughWithMongod/sharding_rs_arb1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthroughWithMongod/sharding_migrate_large_docs.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthroughWithMongod/server7428.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthroughWithMongod/rpc_protocols.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthroughWithMongod/replset_host_connection_validation.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthroughWithMongod/replReads.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthroughWithMongod/remove9.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthroughWithMongod/recstore.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthroughWithMongod/reconfigwt.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthroughWithMongod/query_oplogreplay.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthroughWithMongod/parallel_collection_scan.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthroughWithMongod/no_balance_collection.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthroughWithMongod/newcollection2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthroughWithMongod/mr_writeconflict.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthroughWithMongod/mr_noscripting.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthroughWithMongod/moveprimary-replset.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthroughWithMongod/mapreduce_intermediate_reduce.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthroughWithMongod/logpath.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthroughWithMongod/log_component_helpers.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthroughWithMongod/isMaster_feature_compatibility_version.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthroughWithMongod/ipv6_connection_string_validation.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthroughWithMongod/invalidation_during_resolve_view.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthroughWithMongod/insertMulti.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthroughWithMongod/indexbg_updates.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthroughWithMongod/indexbg_restart_secondary_noretry.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthroughWithMongod/indexbg_restart_secondary.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthroughWithMongod/indexbg_interrupts.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthroughWithMongod/indexbg_drop.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthroughWithMongod/index_hammer1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthroughWithMongod/index_check9.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthroughWithMongod/index_check10.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthroughWithMongod/index_boundary_values_validate.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthroughWithMongod/huge_multikey_index.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthroughWithMongod/host_connection_string_validation.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthroughWithMongod/getmore_error.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthroughWithMongod/getmore_awaitdata_opcounters.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthroughWithMongod/geo_polygon.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthroughWithMongod/geo_near_random2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthroughWithMongod/geo_near_random1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthroughWithMongod/geo_mnypts.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthroughWithMongod/geo_axis_aligned.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthroughWithMongod/ftdc_params.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthroughWithMongod/find_cmd.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthroughWithMongod/find_and_modify_server16469.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthroughWithMongod/external_sort_text_agg.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthroughWithMongod/explain3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthroughWithMongod/explain2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthroughWithMongod/explain1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthroughWithMongod/eval_with_godinsert.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthroughWithMongod/dup_bgindex.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthroughWithMongod/default_read_pref.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthroughWithMongod/cursor_server_status_metrics.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthroughWithMongod/currentop_includes_connid.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthroughWithMongod/create_indexes_shell_helper.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthroughWithMongod/connections_opened.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthroughWithMongod/clonecollection.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthroughWithMongod/capped_truncate.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthroughWithMongod/capped4.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthroughWithMongod/bulk_api_limits.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthroughWithMongod/btreedel.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthroughWithMongod/benchrun_substitution.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthroughWithMongod/bench_test_crud_commands.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthroughWithMongod/background.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthroughWithMongod/apply_ops_errors.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/yield_group.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/yield_during_writes.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/wt_unclean_shutdown.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/wt_prepare_conflict.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/wt_nojournal_toggle.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/wt_nojournal_skip_recovery.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/wt_nojournal_fsync.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/wt_malformed_creation_string.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/wt_index_option_defaults.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/wt_disable_majority_reads.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/wt_cache_full.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/write_local.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/views_legacy.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/verify_session_cache_updates.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/utf8_paths.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/update_server-5552.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/update_post_image_validation.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/unsupported_change_stream_deployments.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/unix_socket.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/ttl_partial_index.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/ttl_capped.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/transaction_reaper.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/transactionLifetimeLimitSeconds_setParameter.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/timestamp_index_builds.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/thread_args.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/system_indexes.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/sync_write.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/stepdown_query.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/startup_logging.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/start_session_command.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/standalone_replication_recovery.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/split_collections_and_indexes.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/snapshot_reads.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/snapshot_cursor_shutdown_stepdown.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/snapshot_cursor_integrity.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/skip_sharding_configuration_checks.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/shell_write_assertions.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/shell_session_option_defaults.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/shell_retry_writes_uri.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/shell_quit.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/shell_history.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/shell_helper_use_database.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/shell_gossip_cluster_time.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/shell_error_codes.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/shell_cmd_assertions.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/shell_can_retry_writes.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/shell_assertions.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/shell_appname_uri.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/shard_fixture_selftest.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/sessions_collection_auto_healing.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/server_transaction_metrics.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/server_status.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/rollback_wt_cache_full.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/retryable_writes_standalone_api.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/retryable_writes_mmap.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/retry_network_error_test.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/restart_node_with_bridge.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/restart_catalog_sharded_cluster.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/replica_set_connection_stepdown.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/replica_set_connection_getmore.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/repair_flag_transport_layer.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/repair2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/refresh_sessions_internal_command.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/refresh_sessions_command.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/recovery_wt_cache_full.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/read_only_command_line.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/read_majority_reads.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/read_majority.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/read_concern_snapshot_yielding.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/read_concern_snapshot_aggregation.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/read_concern_helper.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/readConcern_snapshot_mongos.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/readConcern_snapshot.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/readConcern_atClusterTime_snapshot_selection.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/readConcern_atClusterTime_noop_write.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/readConcern_atClusterTime.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/query_yield_reset_timer.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/query_yield2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/query_yield1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/profile_options.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/profile_agg_multiple_batches.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/prepare_transaction.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/prepare_conflict.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/port_options.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/plan_cache_index_create.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/partial_unique_indexes.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/parse_zone_info.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/parameters.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/ns1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/noncapped_oplog_creation.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/nested_tojson.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/mongoebench_test.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/minvalid2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/minvalid.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/max_bson_depth_parameter.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/low_js_heap_limit.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/loglong.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/logical_session_cursor_checks.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/logging_options.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/log_find_getmore.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/lock_stats.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/lock_file.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/libs/index_build.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/libs/concurrent_rename.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/libs/backup_restore.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/launcher_test.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/killop.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/kill_sessions.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/kill_pinned_cursor.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/js_protection_roundtrip.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/js_protection.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/jsHeapLimit.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/javascript_options.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/inmem_full.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/inmem_config_str.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/indexbg_shutdown.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/indexbg2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/indexbg1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/index_version_v2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/index_version_autoupgrade.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/index_killop.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/implicit_sessions.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/hostname_bind_ips.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/group_interrupt_js_execution.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/global_transaction_latency_histogram.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/global_operation_latency_histogram.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/geo_near_random2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/geo_near_random1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/geo_mnypts_plus_fields.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/geo_full.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/ftdc_setparam.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/ftdc_setdirectory.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/filemd5_kill_during_yield.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/feature_compatibility_version.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/failcommand_failpoint.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/exit_logging.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/end_sessions_command.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/durable_view_catalog.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/dropcollection_duplicate_fields.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/document_count_functions.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/diskFull.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/disable_majority_reads_restart.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/directoryperdb.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/devnull.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/dbhash_capped_collection.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/data_consistency_checks.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/cycle_detection_test.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/cursor_timeout_interrupt.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/currentop_transaction_metrics.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/currentop_query.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/currentop_includes_await_time.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/currentop_active_transaction.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/crud_timestamps.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/count_helper_read_preference.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/copydb_illegal_collections.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/compression_options.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/commands_handle_kill.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/command_line_parsing.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/collation_clone_collection.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/coll_mod_apply_ops.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/client_metadata_slowlog.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/client_metadata_log.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/change_streams_required_privileges.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/change_stream_failover.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/bind_all_ipv6.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/backup_restore_stop_start.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/backup_restore_rolling.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/backup_restore_fsync_lock.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/atomic_rename_collection.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/apply_ops_mode.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/aggregation_zero_batchsize.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/aggregation_cursor_invalidations.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/agg_explain_read_concern.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/after_cluster_time.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/afterClusterTime_committed_reads.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/multiVersion/verify_versions_test.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/multiVersion/upgrade_cluster.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/multiVersion/startup_without_UUIDs_fails.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/multiVersion/set_feature_compatibility_version.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/multiVersion/repair_feature_compatibility_version.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/multiVersion/remove_feature_compatibility_version.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/multiVersion/mixed_storage_version_replication.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/multiVersion/minor_version_upgrade_replset.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/multiVersion/major_version_upgrade.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/multiVersion/libs/verify_versions.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/multiVersion/libs/verify_collection_data.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/multiVersion/libs/multiversion_rollback.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/multiVersion/libs/multi_rs.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/multiVersion/libs/multi_cluster.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/multiVersion/libs/initial_sync.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/multiVersion/libs/dumprestore_helpers.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/multiVersion/libs/data_generators.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/multiVersion/libs/causal_consistency_helpers.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/multiVersion/libs/auth_helpers.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/multiVersion/initialize_from_old_node.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/multiVersion/fcv_db_versioning.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/multiVersion/fcv_chunk_history.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/multiVersion/dumprestore_sharded.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/multiVersion/dumprestore.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/multiVersion/downgrade_replset.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/multiVersion/do_upgrade_downgrade.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/multiVersion/balancer_multiVersion_detect.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/multiVersion/add_invalid_shard.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/multiVersion/3_upgrade_replset.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/multiVersion/2_test_launching_cluster.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/multiVersion/1_test_launching_replset.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/mmap_v1/update.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/mmap_v1/touch1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/mmap_v1/syncdelay_overflow.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/mmap_v1/stats.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/mmap_v1/reverse_empty_extent.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/mmap_v1/repair_cursor1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/mmap_v1/list_indexes2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/mmap_v1/list_collections2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/mmap_v1/indexi.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/mmap_v1/indexh.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/mmap_v1/index_check1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/mmap_v1/extent2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/mmap_v1/extent.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/mmap_v1/drop.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/mmap_v1/disk_reuse1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/mmap_v1/datasize3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/mmap_v1/datasize.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/mmap_v1/compactPreservePadding.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/mmap_v1/compact.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/mmap_v1/collmod.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/mmap_v1/capped_server7543.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/mmap_v1/capped_server2639.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/mmap_v1/capped_server13912.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/mmap_v1/capped_max.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/mmap_v1/capped8.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/mmap_v1/capped7.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/mmap_v1/capped3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/mmap_v1/capped2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/write_concern_util.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/uuid_util.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/txns/txn_passthrough_runner.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/txns/txn_override.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/trusted-server.pfx + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/trusted-server.pem + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/trusted-client.pfx + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/trusted-client.pem + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/trusted-ca.pem + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/trace_missing_docs.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/testconfig + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/test_background_ops.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/stats.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/ssl_test.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/specific_secondary_reader_mongo.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/smoke.pem + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/sessions_collection.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/server.pem + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/retryable_writes_util.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/read_committed_lib.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/profiler.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/password_protected.pem + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/parallel_shell_helpers.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/parallelTester.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/override_methods/override_helpers.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/override_methods/enable_sessions.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/override_methods/continuous_stepdown.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/not_yet_valid.pem + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/namespace_utils.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/mongoebench.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/mongodbauthorizationgrant.cnf + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/mockuser.keytab + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/mockservice.keytab + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/mockkrb5.conf + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/localhostnameSAN.pem + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/localhostnameCN.pem + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/kill_sessions.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/key2 + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/key1_644 + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/key1 + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/jstestfuzz/hook_utils.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/json_schema_test_runner.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/host_ipaddr.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/global_snapshot_reads_util.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/get_index_helpers.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/geo_near_random.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/geo_math.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/fts.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/ftdc.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/fsm_serial_client.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/fixture_helpers.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/feature_compatibility_version.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/expired.pem + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/dur_checksum_good.journal + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/dur_checksum_bad_last.journal + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/dur_checksum_bad_first.journal + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/discover_topology.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/dateutil.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/database_versioning.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/cycle_detection.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/csrs_upgrade_util.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/crl_expired.pem + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/crl_client_revoked.pem + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/crl.pem + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/config_files/set_verbosity.json + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/config_files/set_shardingrole.json + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/config_files/set_replsetname.json + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/config_files/set_profiling.json + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/config_files/enable_unixsocket.json + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/config_files/enable_scripting.json + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/config_files/enable_prealloc.json + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/config_files/enable_paranoia.json + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/config_files/enable_objcheck.json + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/config_files/enable_journal.json + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/config_files/enable_indexbuildretry.json + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/config_files/enable_auth.json + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/config_files/disable_objcheck.ini + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/config_files/disable_nounixsocket.ini + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/config_files/disable_noscripting.ini + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/config_files/disable_noprealloc.ini + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/config_files/disable_noobjcheck.ini + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/config_files/disable_nomoveparanoia.ini + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/config_files/disable_nojournal.ini + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/config_files/disable_noindexbuildretry.ini + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/config_files/disable_nodur.ini + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/config_files/disable_noauth.ini + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/config_files/disable_moveparanoia.ini + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/config_files/disable_jsonp.json + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/config_files/disable_journal.ini + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/config_files/disable_ipv6.ini + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/config_files/disable_dur.ini + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/config_files/disable_auth.ini + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/command_sequence_with_retries.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/collection_drop_recreate.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/cluster_cert.pem + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/client_utf8.pem + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/client_utf8.cnf + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/client_title.pem + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/client_roles.pem + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/client_revoked.pem + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/client_privatekey.pem + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/client_escape.pem + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/client_email.pem + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/client.pem + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/client-self-signed.pem + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/client-multivalue-rdn.pem + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/client-custom-oids.pem + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/client-custom-oids.csr.in + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/client-all-the-oids.pem + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/cleanup_orphaned_util.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/chunk_manipulation_util.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/check_uuids.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/check_unique_indexes.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/check_log.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/change_stream_util.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/ca.pem + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/badSAN.pem + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/authTestsKey + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/assert_schema_match.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/analyze_plan.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/README.ssl + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/8k-prime.dhparam + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/httpinterface/network_options.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/hooks/validate_collections.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/hooks/run_validate_collections.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/hooks/run_check_repl_oplogs.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/hooks/run_check_repl_dbhash.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/hooks/crud_client.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/gle/updated_existing.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/gle/opcounters_legacy.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/gle/gle_sharded_write.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/gle/gle_sharded_wc.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/gle/gle_explicit_optime.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/gle/get_last_error.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/gle/create_index_gle.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/gle/core/update4.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/gle/core/remove5.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/gle/core/gle_shell_server5441.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/gle/core/gle_example.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/gle/core/error1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/free_mon/libs/free_mon.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/free_mon/free_mon_register.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/free_mon/free_mon_disable.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/free_mon/free_mon_announce.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/fail_point/fail_point.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/dur/lsn.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/dur/journaling_options.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/dur/indexbg2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/dur/indexbg.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/dur/dur2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/dur/diskfull.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/dur/data/empty.bson + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/dur/closeall.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/dur/checksum.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/disk/wt_repair_orphaned_idents.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/disk/wt_repair_missing_files.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/disk/wt_repair_corrupt_metadata.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/disk/wt_repair_corrupt_files.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/disk/wt_missing_file_errors.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/disk/wt_corrupt_file_errors.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/disk/too_many_fds.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/disk/repair_failure_is_recoverable.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/disk/repair5.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/disk/repair4.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/disk/repair3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/disk/repair2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/disk/repair.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/disk/quota3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/disk/quota2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/disk/quota.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/disk/preallocate_directoryperdb.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/disk/preallocate2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/disk/preallocate.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/disk/newcollection.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/disk/libs/wt_file_helper.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/disk/killall.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/disk/index_options.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/disk/filesize.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/disk/diskfull.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/disk/directoryperdb.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/disk/dbNoCreate.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/disk/datafile_options.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/decimal/decimal_update.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/decimal/decimal_roundtrip_basic.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/decimal/decimal_find_query.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/decimal/decimal_find_mixed.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/decimal/decimal_find_basic.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/decimal/decimal_constructors.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/decimal/decimal128_test7.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/decimal/decimal128_test6.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/decimal/decimal128_test5.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/decimal/decimal128_test4.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/decimal/decimal128_test3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/decimal/decimal128_test2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/decimal/decimal128_test1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core_standalone/write_concern.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core_standalone/read_concern.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/write_result.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/where5.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/where4.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/where3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/where2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/where1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/views/views_validation.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/views/views_stats.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/views/views_rename.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/views/views_find.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/views/views_drop.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/views/views_distinct.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/views/views_creation.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/views/views_count.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/views/views_collation.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/views/views_coll_stats.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/views/views_change.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/views/views_basic.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/views/views_all_commands.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/views/views_aggregation.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/views/invalid_system_views.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/views/duplicate_ns.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/verify_update_mods.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/validate_user_documents.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/validate_cmd_ns.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/user_management_helpers.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/useindexonobjgtlt.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/upsert_shell.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/upsert_fields.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/upsert_and.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/updatem.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/updatel.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/updatek.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/updatej.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/updatei.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/updateh.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/updateg.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/updatef.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/updatee.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/updated.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/updatec.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/updateb.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/updatea.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/update_setOnInsert.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/update_server-12848.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/update_multi6.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/update_multi5.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/update_multi4.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/update_multi3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/update_mul_examples.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/update_modifier_pop.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/update_min_max_examples.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/update_invalid1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/update_dbref.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/update_currentdate_examples.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/update_blank1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/update_bit_examples.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/update_arraymatch8.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/update_arraymatch7.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/update_arraymatch6.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/update_arraymatch5.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/update_arraymatch4.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/update_arraymatch3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/update_arraymatch2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/update_arraymatch1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/update_array_offset_positional.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/update_arrayFilters.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/update_affects_indexes.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/update_addToSet3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/update_addToSet2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/update_addToSet.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/update9.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/update8.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/update7.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/update6.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/update5.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/update3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/update2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/unset2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/unset.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/uniqueness.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/type_array.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/type8.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/type7.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/type6.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/type5.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/type4.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/type3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/type2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/type1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/txns/upconvert_read_concern.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/txns/transactions_write_conflicts.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/txns/transactions_profiling.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/txns/transactions_block_ddl.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/txns/transaction_error_handling.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/txns/statement_ids_accepted.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/txns/multi_statement_transaction.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/txns/libs/write_conflicts.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/txns/kill_txn_cursor.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/txns/do_txn_basic.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/txns/do_txn_atomicity.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/txns/basic_causal_consistency.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/txns/banned_txn_dbs.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/txns/ban_tailable_cursor.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/txns/aggregation_in_transaction.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/txns/abort_expired_transaction.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/ts1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/top.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/throw_big.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/text_covered_matching.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/testminmax.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/temp_cleanup.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/tailable_skip_limit.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/tailable_getmore_batch_size.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/tailable_cursor_invalidation.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/system_profile.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/sub1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/string_with_nul_bytes.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/storefunc.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/startup_log.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/stages_text.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/stages_sort.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/stages_or.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/stages_mergesort.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/stages_limit_skip.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/stages_ixscan.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/stages_fetch.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/stages_delete.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/stages_collection_scan.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/stages_and_sorted.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/stages_and_hash.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/splitvector.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/sortl.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/sortk.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/sortj.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/sorti.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/sorth.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/sortg.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/sortf.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/sortd.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/sortc.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/sortb.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/sorta.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/sort_numeric.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/sort_array.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/sort9.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/sort8.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/sort7.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/sort6.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/sort5.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/sort4.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/sort3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/sort2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/sort10.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/sort1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/slice1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/skip1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/single_batch.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/show_record_id.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/shelltypes.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/shellstartparallel.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/shellkillop.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/shell_writeconcern.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/shell_connection_strings.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/shell1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/set_type_change.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/set_param1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/set7.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/set6.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/set5.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/set4.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/set3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/set2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/set1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/server9547.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/server9385.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/server7756.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/server5346.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/server25192.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/server22053.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/server14753.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/server14747.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/server1470.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/run_program1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/role_management_helpers.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/return_key.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/restart_catalog.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/repair_server12955.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/repair_database_input_validation.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/repair_database.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/rename_stayTemp.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/rename_change_target_type.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/rename8.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/rename7.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/rename6.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/rename5.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/rename4.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/rename3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/rename2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/rename.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/removec.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/removeb.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/removea.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/remove_undefined.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/remove_justone.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/remove9.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/remove8.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/remove7.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/remove6.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/remove4.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/remove3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/remove2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/remove.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/regexc.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/regexb.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/regexa.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/regex_verbs.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/regex_util.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/regex_unicode.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/regex_options.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/regex_not_id.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/regex_limit.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/regex_embed1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/regex9.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/regex8.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/regex7.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/regex6.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/regex5.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/regex4.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/regex3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/regex2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/regex.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/ref4.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/ref3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/ref2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/ref.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/recursion.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/record_store_count.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/read_after_optime.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/queryoptimizera.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/queryoptimizer6.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/queryoptimizer3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/query1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/push_sort.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/push2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/push.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/pullall2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/pullall.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/pull_remove1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/pull_or.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/pull2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/pull.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/projection_dotted_paths.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/proj_key1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/profile_update.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/profile_sampling.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/profile_repair_cursor.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/profile_parallel_collection_scan.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/profile_no_such_db.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/profile_mapreduce.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/profile_list_indexes.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/profile_list_collections.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/profile_insert.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/profile_group.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/profile_getmore.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/profile_geonear.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/profile_findandmodify.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/profile_find.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/profile_distinct.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/profile_delete.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/profile_count.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/profile_agg.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/profile3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/profile2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/profile1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/pop_server_13516.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/plan_cache_shell_helpers.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/plan_cache_list_shapes.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/plan_cache_list_plans.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/plan_cache_clear.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/orp.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/oro.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/ork.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/orj.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/orh.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/org.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/orf.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/ore.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/ord.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/orc.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/orb.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/ora.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/or_inexact.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/or_always_false.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/or9.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/or8.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/or7.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/or6.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/or5.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/or4.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/or3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/or2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/or1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/optimized_match_explain.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/optime_cmp.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/operation_latency_histogram.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/opcounters_write_cmd.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/opcounters_active.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/objid7.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/objid6.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/objid5.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/objid4.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/objid3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/objid2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/objid1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/numberlong4.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/numberlong3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/numberlong2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/numberlong.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/numberint.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/null_field_name.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/null2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/null.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/ns_length.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/notablescan.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/not3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/not2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/not1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/no_db_created.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/nin2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/nin.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/nestedobj1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/nestedarr1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/ne3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/ne2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/ne1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/natural.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/nan.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/multikey_geonear.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/multi2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/multi.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/mr_undef.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/mr_tolerates_js_exception.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/mr_stored.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/mr_sort.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/mr_replaceIntoDB.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/mr_outreduce2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/mr_outreduce.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/mr_optim.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/mr_mutable_properties.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/mr_merge2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/mr_merge.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/mr_killop.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/mr_index3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/mr_index2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/mr_index.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/mr_errorhandling.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/mr_comments.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/mr_bigobject_replace.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/mr_bigobject.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/mr5.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/mr4.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/mr3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/mr2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/mr1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/mod1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/minmax_edge.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/minmax.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/min_max_bounds.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/maxscan.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/max_time_ms.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/max_doc_size.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/map1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/long_index_rename.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/logprocessdetails.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/loadserverscripts.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/list_sessions.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/list_namespaces_invalidation.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/list_local_sessions.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/list_indexes_invalidation.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/list_indexes_invalid.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/list_indexes.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/list_databases.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/list_commands.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/list_collections_no_views.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/list_collections_name_only.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/list_collections_filter.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/list_collections1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/list_all_sessions.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/list_all_local_sessions.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/list_all_local_cursors.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/killop_drop_collection.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/kill_cursors.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/jssymbol.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/json_schema/unique_items.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/json_schema/required.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/json_schema/pattern_properties.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/json_schema/misc_validation.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/json_schema/logical_keywords.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/json_schema/json_schema.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/json_schema/items.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/json_schema/dependencies.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/json_schema/bsontype.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/json_schema/additional_properties.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/json_schema/additional_items.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/json1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/js_jit.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/js9.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/js8.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/js7.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/js5.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/js4.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/js3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/js2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/js1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/ismaster.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/invalid_db_name.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/insert_one.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/insert_long_index_key.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/insert_illegal_doc.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/insert_id_undefined.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/insert2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/insert1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/indexv.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/indexu.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/indext.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/indexs.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/indexr.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/indexp.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/indexn.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/indexm.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/indexl.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/indexj.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/indexg.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/indexf.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/indexes_on_indexes.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/indexes_multiple_commands.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/indexe.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/indexd.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/indexc.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/indexb.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/indexapi.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/indexa.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/index_type_change.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/index_stats.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/index_sparse2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/index_sparse1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/index_plugins.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/index_partial_write_ops.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/index_partial_validate.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/index_partial_read_ops.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/index_partial_create_drop.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/index_partial_2dsphere.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/index_multiple_compatibility.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/index_multikey.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/index_many2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/index_many.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/index_id_options.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/index_filter_commands.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/index_elemmatch2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/index_elemmatch1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/index_dropdups_ignore.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/index_diag.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/index_decimal.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/index_create_too_many.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/index_check7.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/index_check6.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/index_check5.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/index_check3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/index_check2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/index_bounds_timestamp.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/index_bounds_pipe.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/index_bounds_object.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/index_bounds_minkey.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/index_bounds_maxkey.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/index_bounds_code.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/index_bigkeys_validation.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/index_bigkeys_update.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/index_bigkeys_nofail.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/index_bigkeys.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/index_big1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/index_arr2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/index_arr1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/indexOtherNamespace.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/index9.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/index8.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/index6.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/index5.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/index4.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/index3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/index2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/index13.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/index1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/inc3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/inc2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/inc1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/inc-SERVER-7446.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/in8.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/in7.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/in6.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/in5.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/in4.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/in3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/in2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/in.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/idhack.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/id1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/hostinfo.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/hint1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/hashindex1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/grow_hash_table.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/group_empty.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/group9.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/group8.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/group6.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/group5.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/group4.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/group3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/group2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/group1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/getmore_invalidated_documents.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/getmore_invalidated_cursors.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/getmore_cmd_maxtimems.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/getlog2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/getlog1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/geonear_key.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/geonear_cmd_input_validation.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/geof.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/geoe.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/geod.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/geoc.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/geob.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/geoa.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/geo_withinquery.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/geo_validate.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/geo_update_dedup.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/geo_update_btree2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/geo_update_btree.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/geo_update2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/geo_update1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/geo_update.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/geo_uniqueDocs2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/geo_uniqueDocs.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/geo_sort1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/geo_small_large.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/geo_s2within.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/geo_s2validindex.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/geo_s2twofields.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/geo_s2sparse.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/geo_s2selfintersectingpoly.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/geo_s2polywithholes.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/geo_s2overlappingpolys.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/geo_s2ordering.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/geo_s2oddshapes.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/geo_s2nopoints.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/geo_s2nonstring.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/geo_s2nongeoarray.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/geo_s2nearwithin.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/geo_s2nearcorrect.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/geo_s2near_equator_opposite.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/geo_s2nearComplex.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/geo_s2near.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/geo_s2multi.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/geo_s2meridian.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/geo_s2largewithin.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/geo_s2intersection.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/geo_s2indexversion1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/geo_s2indexoldformat.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/geo_s2index.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/geo_s2holesameasshell.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/geo_s2explain.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/geo_s2exact.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/geo_s2edgecases.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/geo_s2dupe_points.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/geo_s2disjoint_holes.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/geo_s2descindex.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/geo_s2dedupnear.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/geo_s2cursorlimitskip.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/geo_regex0.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/geo_queryoptimizer.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/geo_polygon3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/geo_polygon2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/geo_polygon1_noindex.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/geo_polygon1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/geo_poly_line.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/geo_poly_edge.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/geo_or.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/geo_operator_crs.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/geo_oob_sphere.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/geo_nearwithin.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/geo_near_random2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/geo_near_random1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/geo_multinest1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/geo_multinest0.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/geo_multikey1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/geo_multikey0.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/geo_mindistance_boundaries.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/geo_mindistance.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/geo_max.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/geo_mapreduce2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/geo_mapreduce.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/geo_invalid_polygon.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/geo_invalid_2d_params.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/geo_haystack3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/geo_haystack2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/geo_haystack1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/geo_group.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/geo_fiddly_box2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/geo_fiddly_box.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/geo_exactfetch.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/geo_distinct.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/geo_circle5.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/geo_circle4.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/geo_circle3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/geo_circle2a.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/geo_circle2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/geo_circle1_noindex.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/geo_circle1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/geo_center_sphere2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/geo_center_sphere1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/geo_box3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/geo_box2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/geo_box1_noindex.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/geo_box1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/geo_borders.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/geo_big_polygon3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/geo_big_polygon2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/geo_big_polygon.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/geo_array2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/geo_array1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/geo_array0.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/geo_allowedcomparisons.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/geo_2d_trailing_fields.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/geo_2d_explain.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/geo9.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/geo7.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/geo6.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/geo5.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/geo3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/geo2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/geo10.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/geo1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/function_string_representations.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/fts_trailing_fields.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/fts_spanish.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/fts_score_sort.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/fts_querylang.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/fts_projection.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/fts_proj.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/fts_phrase.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/fts_partition_no_multikey.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/fts_partition1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/fts_mix.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/fts_index_version2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/fts_index_version1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/fts_index3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/fts_index2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/fts_index.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/fts_explain.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/fts_dotted_prefix_fields.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/fts_diacriticsensitive.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/fts_diacritic_and_casesensitive.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/fts_diacritic_and_caseinsensitive.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/fts_casesensitive.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/fts_blogwild.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/fts_blog.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/fts_array.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/fts6.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/fts5.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/fts4.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/fts3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/fts2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/fts1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/fsync.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/fm4.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/fm3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/fm2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/fm1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/finda.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/find_size.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/find_getmore_cmd.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/find_getmore_bsonsize.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/find_dedup.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/find_and_modify_where.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/find_and_modify_server7660.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/find_and_modify_server6993.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/find_and_modify_server6909.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/find_and_modify_server6865.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/find_and_modify_server6659.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/find_and_modify_server6588.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/find_and_modify_server6582.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/find_and_modify_server6254.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/find_and_modify_server6226.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/find_and_modify4.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/find_and_modify3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/find_and_modify2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/find_and_modify.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/find9.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/find8.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/find7.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/find6.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/find5.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/find4.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/find3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/find2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/filemd5.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/field_name_validation.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/expr_valid_positions.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/expr_or_pushdown.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/expr_index_use.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/expr.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/explain_upsert.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/explain_shell_helpers.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/explain_multikey.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/explain_multi_plan.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/explain_missing_database.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/explain_missing_collection.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/explain_large_bounds.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/explain_find_and_modify.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/explain_find.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/explain_execution_error.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/explain_distinct.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/explain_delete.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/explain_db_mismatch.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/explain_count.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/explain_batch_size.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/explain_agg_write_concern.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/explain6.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/explain5.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/explain4.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/explain2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/explain1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/existsb.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/existsa.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/exists9.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/exists8.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/exists7.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/exists6.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/exists5.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/exists4.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/exists3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/exists2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/exists.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/exhaust.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/evalj.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/evalh.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/evalg.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/evale.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/evald.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/evalb.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/evala.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/eval_nolock.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/eval_mr.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/eval9.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/eval8.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/eval7.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/eval6.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/eval5.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/eval4.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/eval3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/eval2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/eval1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/eval0.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/error5.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/error2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/ensure_sorted.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/elemmatch_or_pushdown.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/elemMatchProjection.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/dropdb_race.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/dropdb.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/drop_index.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/drop3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/drop.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/doc_validation_options.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/doc_validation_invalid_validators.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/doc_validation.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/distinct_multikey.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/distinct_index2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/distinct_index1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/distinct_compound_index.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/distinct_array1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/distinct4.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/distinct3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/distinct2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/distinct1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/diagdata.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/depth_limit.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/delx.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/dbstats.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/dbref4.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/dbref3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/dbref2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/dbref1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/dbhash2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/dbhash.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/dbcase2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/dbcase.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/dbadmin.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/db.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/date3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/date2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/date1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/datasize2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/cursora.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/cursor7.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/cursor6.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/cursor5.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/cursor4.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/cursor3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/cursor2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/cursor1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/currentop_predicate.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/currentop.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/crud_api.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/create_indexes.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/create_collection_fail_cleanup.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/create_collection.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/covered_multikey.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/covered_index_sort_3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/covered_index_sort_2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/covered_index_sort_1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/covered_index_simple_id.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/covered_index_simple_3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/covered_index_simple_2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/covered_index_simple_1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/covered_index_negative_1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/covered_index_compound_1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/coveredIndex4.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/coveredIndex3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/coveredIndex2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/coveredIndex1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/countc.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/countb.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/counta.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/count_plan_summary.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/count_hint.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/count9.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/count7.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/count6.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/count5.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/count4.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/count3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/count2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/count11.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/count10.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/count.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/copydb.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/convert_to_capped_nonexistant.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/convert_to_capped.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/constructors.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/connection_string_validation.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/connection_status.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/compare_timestamps.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/compact_keeps_indexes.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/commands_with_uuid.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/commands_namespace_parsing.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/collmod_without_uuid.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/collmod_bad_spec.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/collmod.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/collection_truncate.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/collation_with_reverse_index.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/collation_update.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/collation_plan_cache.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/collation_convert_to_capped.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/collation.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/clone_as_capped_nonexistant.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/client_metadata_ismaster.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/cleanup_orphaned.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/check_shard_index.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/cappeda.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/capped_update.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/capped_max1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/capped_empty.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/capped_convertToCapped1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/capped6.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/capped5.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/capped1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/capped.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/bypass_doc_validation.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/bulk_legacy_enforce_gle.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/bulk_insert_capped.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/bulk_insert.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/bulk_api_unordered.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/bulk_api_ordered.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/bson.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/bittest.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/bindata_indexonly.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/binData.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/bench_test3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/bench_test2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/bench_test1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/batch_write_command_wc.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/batch_write_command_update.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/batch_write_command_insert.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/batch_write_command_delete.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/batch_write_collation_estsize.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/batch_size.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/basica.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/basic8.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/basic7.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/basic6.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/basic5.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/basic4.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/basic2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/basic1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/bad_index_plugin.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/background_index_multikey.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/awaitdata_getmore_cmd.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/automation_setparameter.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/autoid.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/autocomplete.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/auth_copydb.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/auth2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/auth1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/arrayfindb.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/arrayfinda.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/arrayfind9.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/arrayfind8.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/arrayfind7.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/arrayfind6.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/arrayfind5.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/arrayfind4.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/arrayfind3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/arrayfind2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/arrayfind1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/array_match4.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/array_match3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/array_match2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/array_match1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/array4.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/array3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/array1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/apply_ops_without_ns.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/apply_ops_index_collation.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/apply_ops_dups.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/apply_ops2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/apply_ops1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/apitest_dbcollection.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/apitest_db_profile_level.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/apitest_db.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/andor.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/and3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/and2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/and.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/all5.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/all4.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/all3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/all2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/all.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/aggregation_getmore_batchsize.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/agg_hint.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/SERVER-23626.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/yield_text.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/yield_sort.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/yield_group.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/yield_fetch.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/yield.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/view_catalog.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/upsert_where.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/update_where.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/update_simple.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/update_replace.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/update_rename.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/update_multifield.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/update_inc.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/update_array.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/touch_index.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/touch_data.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/touch_base.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/server_status.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/secondary_reads.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/remove_where.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/reindex_background.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/reindex.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/list_indexes.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/kill_aggregation.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/invalidated_cursors.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/group_killop.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/group_cond.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/group.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/findAndModify_upsert.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/findAndModify_update.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/findAndModify_remove.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/findAndModify_inc.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/explain_update.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/explain_remove.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/explain_group.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/explain_find.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/explain_distinct.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/explain_count.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/explain_aggregate.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/explain.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/drop_database.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/drop_collection.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/distinct_projection.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/distinct_noindex.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/distinct.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/database_versioning.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/create_database.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/create_collection.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/count_indexed.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/count.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/compact.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/collmod.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/agg_sort.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/agg_out.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/agg_match.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/concurrency/fsm_workloads/agg_base.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/concurrency/fsm_workload_helpers/chunks.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/concurrency/fsm_utils/name_utils.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/concurrency/fsm_selftests.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/concurrency/fsm_libs/worker_thread.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/concurrency/fsm_libs/thread_mgr.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/concurrency/fsm_libs/shard_fixture.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/concurrency/fsm_libs/runner.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/concurrency/fsm_libs/resmoke_runner.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/concurrency/fsm_libs/parse_config.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/concurrency/fsm_libs/fsm.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/concurrency/fsm_libs/extend_workload.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/concurrency/fsm_libs/composer.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/concurrency/fsm_libs/cluster.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/concurrency/fsm_libs/assert.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/concurrency/fsm_example_inheritance.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/concurrency/fsm_example.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/change_streams/whole_db_resumability.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/change_streams/whole_db.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/change_streams/whole_cluster_resumability.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/change_streams/whole_cluster.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/change_streams/whitelist.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/change_streams/shell_helper.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/change_streams/metadata_notifications.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/change_streams/lookup_post_image.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/change_streams/include_cluster_time.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/change_streams/collation.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/change_streams/change_stream.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/change_streams/ban_from_views.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/change_streams/ban_from_lookup.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/change_streams/apply_ops_resumability.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/change_streams/apply_ops.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/auth/views_authz.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/auth/usersInfo.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/auth/user_special_chars.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/auth/user_management_commands_standalone.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/auth/user_management_commands_mechanisms.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/auth/user_management_commands_lib.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/auth/user_defined_roles.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/auth/upgrade_noauth_to_keyfile.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/auth/transactions.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/auth/system_user_privileges.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/auth/system_user_exception.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/auth/system_roles_collMod.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/auth/show_log_auth.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/auth/server-4892.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/auth/secondary_invalidation.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/auth/scram-credentials-invalid.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/auth/sasl_mechanism_discovery.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/auth/role_management_commands_standalone.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/auth/role_management_commands_lib.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/auth/resource_pattern_matching.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/auth/repl_auth.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/auth/repl.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/auth/renameSystemCollections.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/auth/rename.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/auth/readIndex.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/auth/pseudo_commands.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/auth/profile_access.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/auth/profile.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/auth/mr_auth.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/auth/mongos_cache_invalidation.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/auth/mergeAuthCollsCommand.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/auth/logout_reconnect.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/auth/log_userid_off.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/auth/localhostAuthBypass.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/auth/listcommands_preauth.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/auth/list_sessions.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/auth/list_local_sessions.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/auth/list_databases.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/auth/list_collections_own_collections.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/auth/list_all_sessions.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/auth/list_all_local_sessions.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/auth/lib/commands_lib.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/auth/killop_own_ops.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/auth/kill_sessions.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/auth/kill_cursors.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/auth/js_scope_leak.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/auth/iteration_count_defaults.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/auth/iteration_count_control.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/auth/indexSystemUsers.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/auth/getMore.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/auth/explain_auth.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/auth/disable_localhost_bypass.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/auth/db_multiple_login.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/auth/copyauth_between_shards.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/auth/copyauth2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/auth/copyauth.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/auth/commands_user_defined_roles.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/auth/commands_builtin_roles.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/auth/cluster_ip_whitelist.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/auth/clac_system_colls.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/auth/builtin_roles_system_colls.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/auth/basic_role_auth.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/auth/authz_modifications_access_control.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/auth/authentication_restrictions_role.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/auth/authentication_restrictions.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/auth/auth_options.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/auth/auth_mechanism_discovery.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/auth/auth_helpers.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/auth/auth3.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/auth/auth2.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/auth/auth1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/auth/arbiter.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/variables/remove_system_variable.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/variables/layered_variables.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/use_query_sort.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/use_query_projection.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/unwind.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/testshard1.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/testall.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/testSlave.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/sources/sort/explain_sort.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/sources/sort/collation_sort.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/sources/replaceRoot/address.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/sources/redact/collation_redact.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/sources/match/expr_match.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/sources/match/collation_match.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/sources/lookup/lookup.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/sources/lookup/collation_lookup.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/sources/group/numeric_grouping.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/sources/group/collation_group.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/sources/graphLookup/socialite.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/sources/graphLookup/sharded.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/sources/graphLookup/nested_objects.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/sources/graphLookup/filter.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/sources/graphLookup/error.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/sources/graphLookup/collation_graphlookup.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/sources/graphLookup/basic.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/sources/graphLookup/airports.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/sources/geonear/collation_geonear.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/sources/facet/use_cases.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/sources/facet/inner_lookup.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/sources/facet/inner_graphlookup.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/sources/collStats/count.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/sources/bucketauto/collation_bucketauto.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/sources/bucket/collation_bucket.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/sources/addFields/weather.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/sources/addFields/use_cases.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/shard_targeting.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/mongos_slaveok.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/mongos_merge.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/match_swapping_renamed_fields.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/extras/utils.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/extras/testutils.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/extras/mrabench.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/extras/limitskip.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/extras/debug.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/extras/debug.html + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/expressions/trim.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/expressions/switch_errors.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/expressions/switch.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/expressions/split.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/expressions/size.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/expressions/reduce.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/expressions/objectToArray.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/expressions/merge_objects.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/expressions/indexof_codepoints.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/expressions/indexof_bytes.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/expressions/indexof_array.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/expressions/in.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/expressions/expression_mod.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/expressions/date_to_string.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/expressions/date_to_parts.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/expressions/date_from_string.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/expressions/date_from_parts.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/expressions/convert.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/expressions/collation_expressions.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/expressions/arrayToObject.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/explain_limit.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/explain.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/data/articles.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/bugs/upperlower.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/bugs/substr.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/bugs/strcasecmp.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/bugs/sort_arrays.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/bugs/server9841.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/bugs/server9840.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/bugs/server9625.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/bugs/server9444.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/bugs/server9289.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/bugs/server8581.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/bugs/server8568.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/bugs/server8164.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/bugs/server8141.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/bugs/server7900.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/bugs/server7781.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/bugs/server7768.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/bugs/server7695_isodates.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/bugs/server6861.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/bugs/server6779.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/bugs/server6570.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/bugs/server6556.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/bugs/server6531.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/bugs/server6530.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/bugs/server6468.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/bugs/server6335.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/bugs/server6290.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/bugs/server6275.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/bugs/server6269.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/bugs/server6240.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/bugs/server6239.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/bugs/server6238.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/bugs/server6232.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/bugs/server6198.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/bugs/server6195.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/bugs/server6194.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/bugs/server6192_server6193.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/bugs/server6190.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/bugs/server6189.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/bugs/server6186.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/bugs/server6185.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/bugs/server6184.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/bugs/server6181.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/bugs/server6179.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/bugs/server6177.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/bugs/server6147.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/bugs/server6131.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/bugs/server6127.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/bugs/server6125.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/bugs/server6121.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/bugs/server6120.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/bugs/server6074.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/bugs/server6045.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/bugs/server5973.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/bugs/server5932.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/bugs/server5782.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/bugs/server533.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/bugs/server5044.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/bugs/server5012.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/bugs/server4738.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/bugs/server4656.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/bugs/server4638.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/bugs/server4589.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/bugs/server4588.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/bugs/server3832.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/bugs/server3253.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/bugs/server26462.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/bugs/server25590.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/bugs/server22580.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/bugs/server22093.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/bugs/server21632.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/bugs/server20169.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/bugs/server20168.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/bugs/server20163.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/bugs/server19548.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/bugs/server18427.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/bugs/server18222.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/bugs/server18198.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/bugs/server17943.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/bugs/server17224.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/bugs/server15810.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/bugs/server14969.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/bugs/server14872.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/bugs/server14691.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/bugs/server14670.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/bugs/server14421.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/bugs/server13715.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/bugs/server12015.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/bugs/server11675.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/bugs/server11118.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/bugs/server10530.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/bugs/server10176.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/bugs/reverseArray.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/bugs/match_swap_limit.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/bugs/match.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/bugs/lookup_unwind_killcursor.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/bugs/lookup_unwind_getmore.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/bugs/ifnull.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/bugs/groupMissing.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/bugs/firstlast.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/bugs/explain_options_helper.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/bugs/cursor_timeout.js + for file in `find /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests -type f` + chmod a-x /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/mongodb-test/ + [[ /usr/bin/python3 =~ - ]] + clamp_source_mtime /usr/bin/python3 /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/ + python_binary='env /usr/bin/python3' + bytecode_compilation_path=/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/ + PYTHONPATH=/usr/lib/rpm/redhat + env /usr/bin/python3 -s -B -m clamp_source_mtime /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/ Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/ciconfig'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokeconfig'... Clamping mtime of '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokeconfig/__init__.py' Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokeconfig/loggers'... Clamping mtime of '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokeconfig/loggers/__init__.py' Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokeconfig/suites'... Clamping mtime of '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokeconfig/suites/__init__.py' Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib'... Clamping mtime of '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/__init__.py' Clamping mtime of '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/config.py' Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/core'... Clamping mtime of '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/core/__init__.py' Clamping mtime of '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/core/network.py' Clamping mtime of '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/core/pipe.py' Clamping mtime of '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/core/process.py' Clamping mtime of '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/core/programs.py' Clamping mtime of '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/errors.py' Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/logging'... Clamping mtime of '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/logging/__init__.py' Clamping mtime of '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/logging/buildlogger.py' Clamping mtime of '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/logging/flush.py' Clamping mtime of '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/logging/formatters.py' Clamping mtime of '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/logging/handlers.py' Clamping mtime of '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/logging/loggers.py' Clamping mtime of '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/parser.py' Clamping mtime of '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/reportfile.py' Clamping mtime of '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/selector.py' Clamping mtime of '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/sighandler.py' Clamping mtime of '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/suitesconfig.py' Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/testing'... Clamping mtime of '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/testing/__init__.py' Clamping mtime of '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/testing/executor.py' Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/testing/fixtures'... Clamping mtime of '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/testing/fixtures/__init__.py' Clamping mtime of '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/testing/fixtures/interface.py' Clamping mtime of '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/testing/fixtures/replicaset.py' Clamping mtime of '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/testing/fixtures/replicaset_utils.py' Clamping mtime of '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/testing/fixtures/shardedcluster.py' Clamping mtime of '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/testing/fixtures/standalone.py' Clamping mtime of '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/testing/fixtures/yesfixture.py' Clamping mtime of '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/testing/hook_test_archival.py' Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/testing/hooks'... Clamping mtime of '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/testing/hooks/__init__.py' Clamping mtime of '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/testing/hooks/cleanup.py' Clamping mtime of '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/testing/hooks/cleanup_concurrency_workloads.py' Clamping mtime of '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/testing/hooks/collect_embedded_resources.py' Clamping mtime of '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/testing/hooks/combine_benchmark_results.py' Clamping mtime of '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/testing/hooks/combine_benchrun_embedded_results.py' Clamping mtime of '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/testing/hooks/dbhash.py' Clamping mtime of '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/testing/hooks/dbhash_background.py' Clamping mtime of '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/testing/hooks/initialsync.py' Clamping mtime of '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/testing/hooks/interface.py' Clamping mtime of '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/testing/hooks/jsfile.py' Clamping mtime of '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/testing/hooks/oplog.py' Clamping mtime of '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/testing/hooks/periodic_kill_secondaries.py' Clamping mtime of '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/testing/hooks/stepdown.py' Clamping mtime of '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/testing/hooks/validate.py' Clamping mtime of '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/testing/job.py' Clamping mtime of '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/testing/report.py' Clamping mtime of '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/testing/suite.py' Clamping mtime of '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/testing/summary.py' Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/testing/testcases'... Clamping mtime of '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/testing/testcases/__init__.py' Clamping mtime of '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/testing/testcases/benchmark_test.py' Clamping mtime of '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/testing/testcases/benchrun_embedded_test.py' Clamping mtime of '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/testing/testcases/cpp_integration_test.py' Clamping mtime of '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/testing/testcases/cpp_unittest.py' Clamping mtime of '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/testing/testcases/dbtest.py' Clamping mtime of '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/testing/testcases/fsm_workload_test.py' Clamping mtime of '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/testing/testcases/interface.py' Clamping mtime of '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/testing/testcases/json_schema_test.py' Clamping mtime of '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/testing/testcases/jsrunnerfile.py' Clamping mtime of '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/testing/testcases/jstest.py' Clamping mtime of '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/testing/testcases/mongos_test.py' Clamping mtime of '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/testing/testcases/multi_stmt_txn_test.py' Clamping mtime of '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/testing/testcases/pytest.py' Clamping mtime of '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/testing/testcases/sleeptest.py' Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/utils'... Clamping mtime of '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/utils/__init__.py' Clamping mtime of '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/utils/archival.py' Clamping mtime of '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/utils/autoloader.py' Clamping mtime of '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/utils/globstar.py' Clamping mtime of '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/utils/jscomment.py' Clamping mtime of '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/utils/queue.py' Clamping mtime of '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/utils/registry.py' Clamping mtime of '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/utils/scheduler.py' Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/bugs'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/data'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/expressions'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/extras'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/sources'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/sources/addFields'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/sources/bucket'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/sources/bucketauto'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/sources/collStats'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/sources/facet'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/sources/geonear'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/sources/graphLookup'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/sources/group'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/sources/lookup'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/sources/match'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/sources/out'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/sources/project'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/sources/redact'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/sources/replaceRoot'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/sources/sort'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/variables'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/auth'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/auth/lib'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/change_streams'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/concurrency'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/concurrency/fsm_libs'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/concurrency/fsm_utils'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/concurrency/fsm_workload_helpers'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/concurrency/fsm_workload_modifiers'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/concurrency/fsm_workloads'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/json_schema'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/txns'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/txns/libs'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/views'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core_standalone'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/decimal'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/disk'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/disk/libs'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/dur'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/dur/data'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/fail_point'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/free_mon'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/free_mon/libs'... Clamping mtime of '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/free_mon/libs/mock_http_common.py' Clamping mtime of '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/free_mon/libs/mock_http_control.py' Clamping mtime of '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/free_mon/libs/mock_http_server.py' Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/gle'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/gle/core'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/hooks'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/httpinterface'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/command_line'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/config_files'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/config_files/bad_timezone_info'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/config_files/good_timezone_info'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/jstestfuzz'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/override_methods'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/txns'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/mmap_v1'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/multiVersion'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/multiVersion/libs'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/libs'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthroughWithMongod'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/parallel'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/perf'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/readonly'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/readonly/lib'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/libs'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/serial_run'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/slow1'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/ssl'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/ssl/libs'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sslSpecial'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/tool'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/tool/data'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/tool/data/dumprestore6'... Clamping mtime of '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/resmoke.py' Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/var'... ++ /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.i386/usr/share/mongodb-test/ + python_binary='env PYTHONHASHSEED=0 /usr/bin/python3' + bytecode_compilation_path=/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/ + env PYTHONHASHSEED=0 /usr/bin/python3 -s -B -m compileall -j2 -o 0 -o 1 -s /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386 -p / --hardlink-dupes --invalidation-mode=timestamp /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/ Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/ciconfig'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokeconfig'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokeconfig/loggers'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokeconfig/suites'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/core'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/logging'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/testing'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/testing/fixtures'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/testing/hooks'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/testing/testcases'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/utils'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/bugs'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/data'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/expressions'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/extras'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/sources'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/sources/addFields'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/sources/bucket'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/sources/bucketauto'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/sources/collStats'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/sources/facet'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/sources/geonear'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/sources/graphLookup'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/sources/group'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/sources/lookup'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/sources/match'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/sources/out'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/sources/project'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/sources/redact'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/sources/replaceRoot'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/sources/sort'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/aggregation/variables'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/auth'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/auth/lib'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/change_streams'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/concurrency'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/concurrency/fsm_libs'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/concurrency/fsm_utils'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/concurrency/fsm_workload_helpers'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/concurrency/fsm_workload_modifiers'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/concurrency/fsm_workloads'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/json_schema'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/txns'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/txns/libs'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core/views'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/core_standalone'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/decimal'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/disk'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/disk/libs'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/dur'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/dur/data'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/fail_point'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/free_mon'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/free_mon/libs'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/gle'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/gle/core'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/hooks'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/httpinterface'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/command_line'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/config_files'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/config_files/bad_timezone_info'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/config_files/good_timezone_info'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/jstestfuzz'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/override_methods'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/libs/txns'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/ciconfig/tags.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokeconfig/__init__.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokeconfig/loggers/__init__.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/__init__.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/core/__init__.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/core/pipe.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/core/programs.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/logging/flush.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/logging/formatters.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/parser.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/selector.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/testing/fixtures/replicaset_utils.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/testing/fixtures/shardedcluster.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/testing/hooks/__init__.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/testing/hooks/cleanup.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/testing/hooks/collect_embedded_resources.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/testing/hooks/combine_benchmark_results.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/testing/hooks/dbhash_background.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/testing/hooks/interface.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/testing/hooks/oplog.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/testing/hooks/stepdown.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/testing/report.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/testing/testcases/cpp_integration_test.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/testing/testcases/cpp_unittest.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/testing/testcases/dbtest.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/testing/testcases/interface.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/testing/testcases/jstest.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/testing/testcases/sleeptest.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/utils/archival.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/utils/jscomment.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/utils/registry.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/free_mon/libs/mock_http_common.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/free_mon/libs/mock_http_server.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/__init__.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/ciconfig/__init__.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokeconfig/suites/__init__.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/config.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/core/network.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/core/process.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/errors.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/logging/__init__.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/logging/buildlogger.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/logging/handlers.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/logging/loggers.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/reportfile.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/sighandler.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/suitesconfig.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/testing/__init__.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/testing/executor.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/testing/fixtures/__init__.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/testing/fixtures/interface.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/testing/fixtures/replicaset.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/testing/fixtures/standalone.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/testing/fixtures/yesfixture.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/testing/hook_test_archival.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/testing/hooks/cleanup_concurrency_workloads.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/testing/hooks/combine_benchrun_embedded_results.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/testing/hooks/dbhash.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/testing/hooks/initialsync.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/testing/hooks/jsfile.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/testing/hooks/periodic_kill_secondaries.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/testing/hooks/validate.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/testing/job.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/testing/suite.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/testing/summary.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/testing/testcases/__init__.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/testing/testcases/benchmark_test.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/testing/testcases/benchrun_embedded_test.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/testing/testcases/fsm_workload_test.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/testing/testcases/json_schema_test.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/testing/testcases/jsrunnerfile.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/testing/testcases/mongos_test.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/testing/testcases/multi_stmt_txn_test.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/testing/testcases/pytest.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/utils/__init__.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/utils/autoloader.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/utils/globstar.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/utils/queue.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/buildscripts/resmokelib/utils/scheduler.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/free_mon/libs/mock_http_control.py'... Compiling '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/resmoke.py'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/mmap_v1'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/multiVersion'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/multiVersion/libs'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthrough/libs'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/noPassthroughWithMongod'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/parallel'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/perf'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/readonly'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/readonly/lib'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/replsets/libs'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/serial_run'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sharding'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/slow1'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/ssl'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/ssl/libs'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/sslSpecial'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/tool'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/tool/data'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/mongodb-test/jstests/tool/data/dumprestore6'... Listing '/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386 --unique-debug-src-base mongodb-4.0.3-4.fc38.i386 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/mongo-r4.0.3 find-debuginfo: starting Extracting debug info from 4 files /usr/bin/gdb.minimal /usr/bin/gdb.minimal /usr/bin/gdb.minimal /usr/bin/gdb.minimal DWARF-compressing 4 files dwz: ./usr/bin/mongod-4.0.3-4.fc38.i386.debug: Too many DIEs, not optimizing dwz: Too few files for multifile optimization sepdebugcrcfix: Updated 3 CRC32s, 1 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/mongodb-4.0.3-4.fc38.i386 cpio: parse_date.re: Cannot stat: No such file or directory 161115 blocks find-debuginfo: done + /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.i386/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.i386/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.i386/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.i386/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.i386/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.i386/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.i386/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.i386/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.i386/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.i386/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.i386/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.i386/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.i386/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.i386/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.i386/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.i386/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.i386/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.i386/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.i386/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.i386/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.i386/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.i386/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.i386/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.i386/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.i386/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.i386/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.i386/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.i386/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.i386/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.i386/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.i386/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.i386/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.i386/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.i386/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.i386/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.i386/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.i386/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.i386/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.i386/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.i386/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.i386/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.i386/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.i386/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.i386/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.i386/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.i386/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.i386/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.i386/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.i386/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.i386/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.i386/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.i386/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.i386/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.i386/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.i386/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.i386/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.i386/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.i386/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.i386/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.i386/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.i386/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.i386/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.i386/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.i386/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.i386/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.i386/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.i386/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.i386/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.i386/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.i386/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.i386/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.i386/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.i386/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.i386/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.i386/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.i386/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.i386/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.i386/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.i386/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.i386/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.i386/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.i386/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.i386/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.i386/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.i386/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 + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j2 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.SQI4XM + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + 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/lib: + 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.i686 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.QVYL5E + umask 022 + cd /builddir/build/BUILD + cd mongo-r4.0.3 + DOCDIR=/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/doc/mongodb + cp -pr README /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/doc/mongodb + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.kkUUaV + umask 022 + cd /builddir/build/BUILD + cd mongo-r4.0.3 + LICENSEDIR=/builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/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.i386/usr/share/licenses/mongodb + cp -pr GNU-AGPL-3.0.txt /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/licenses/mongodb + cp -pr APACHE-2.0.txt /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386/usr/share/licenses/mongodb + RPM_EC=0 ++ jobs -p + exit 0 Provides: mongodb = 4.0.3-4.fc38 mongodb(x86-32) = 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 libboost_iostreams.so.1.78.0 libboost_program_options.so.1.78.0 libboost_system.so.1.78.0 libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.17) libc.so.6(GLIBC_2.2) libc.so.6(GLIBC_2.2.4) libc.so.6(GLIBC_2.28) libc.so.6(GLIBC_2.3) libc.so.6(GLIBC_2.3.2) libc.so.6(GLIBC_2.3.4) libc.so.6(GLIBC_2.32) libc.so.6(GLIBC_2.33) libc.so.6(GLIBC_2.34) libc.so.6(GLIBC_2.4) libc.so.6(GLIBC_2.6) libc.so.6(GLIBC_2.7) libc.so.6(GLIBC_2.8) libc.so.6(GLIBC_2.9) libcrypto.so.3 libcrypto.so.3(OPENSSL_3.0.0) libgcc_s.so.1 libgcc_s.so.1(GCC_3.0) libgcc_s.so.1(GCC_3.3.1) libgcc_s.so.1(GCC_3.4) libgcc_s.so.1(GCC_7.0.0) libgcc_s.so.1(GLIBC_2.0) libm.so.6 libm.so.6(GLIBC_2.0) libm.so.6(GLIBC_2.1) libm.so.6(GLIBC_2.2) libm.so.6(GLIBC_2.29) libm.so.6(GLIBC_2.35) libpcre.so.1 libpcrecpp.so.0 libresolv.so.2 libresolv.so.2(GLIBC_2.9) libsnappy.so.1 libssl.so.3 libssl.so.3(OPENSSL_3.0.0) libstdc++.so.6 libstdc++.so.6(CXXABI_1.3) libstdc++.so.6(CXXABI_1.3.13) libstdc++.so.6(CXXABI_1.3.3) libstdc++.so.6(CXXABI_1.3.5) libstdc++.so.6(CXXABI_1.3.7) libstdc++.so.6(CXXABI_1.3.8) libstdc++.so.6(GLIBCXX_3.4) libstdc++.so.6(GLIBCXX_3.4.11) libstdc++.so.6(GLIBCXX_3.4.14) libstdc++.so.6(GLIBCXX_3.4.15) libstdc++.so.6(GLIBCXX_3.4.18) libstdc++.so.6(GLIBCXX_3.4.19) libstdc++.so.6(GLIBCXX_3.4.20) libstdc++.so.6(GLIBCXX_3.4.21) libstdc++.so.6(GLIBCXX_3.4.22) libstdc++.so.6(GLIBCXX_3.4.26) libstdc++.so.6(GLIBCXX_3.4.29) libstdc++.so.6(GLIBCXX_3.4.30) libstdc++.so.6(GLIBCXX_3.4.32) libstdc++.so.6(GLIBCXX_3.4.9) libtcmalloc.so.4 libyaml-cpp.so.0.7 libz.so.1 libz.so.1(ZLIB_1.2.0) rtld(GNU_HASH) Processing files: mongodb-server-4.0.3-4.fc38.i686 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-32) = 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 libboost_iostreams.so.1.78.0 libboost_program_options.so.1.78.0 libboost_system.so.1.78.0 libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.17) libc.so.6(GLIBC_2.2) libc.so.6(GLIBC_2.2.4) libc.so.6(GLIBC_2.28) libc.so.6(GLIBC_2.3) libc.so.6(GLIBC_2.3.2) libc.so.6(GLIBC_2.3.3) libc.so.6(GLIBC_2.3.4) libc.so.6(GLIBC_2.32) libc.so.6(GLIBC_2.33) libc.so.6(GLIBC_2.34) libc.so.6(GLIBC_2.4) libc.so.6(GLIBC_2.6) libc.so.6(GLIBC_2.7) libc.so.6(GLIBC_2.8) libc.so.6(GLIBC_2.9) libcrypto.so.3 libcrypto.so.3(OPENSSL_3.0.0) libcurl.so.4 libgcc_s.so.1 libgcc_s.so.1(GCC_3.0) libgcc_s.so.1(GCC_3.3.1) libgcc_s.so.1(GCC_3.4) libgcc_s.so.1(GCC_7.0.0) libgcc_s.so.1(GLIBC_2.0) libm.so.6 libm.so.6(GLIBC_2.0) libm.so.6(GLIBC_2.1) libm.so.6(GLIBC_2.2) libm.so.6(GLIBC_2.29) libm.so.6(GLIBC_2.35) libpcre.so.1 libpcrecpp.so.0 libresolv.so.2 libresolv.so.2(GLIBC_2.9) libsnappy.so.1 libssl.so.3 libssl.so.3(OPENSSL_3.0.0) libstdc++.so.6 libstdc++.so.6(CXXABI_1.3) libstdc++.so.6(CXXABI_1.3.13) libstdc++.so.6(CXXABI_1.3.3) libstdc++.so.6(CXXABI_1.3.5) libstdc++.so.6(CXXABI_1.3.7) libstdc++.so.6(CXXABI_1.3.8) libstdc++.so.6(GLIBCXX_3.4) libstdc++.so.6(GLIBCXX_3.4.11) libstdc++.so.6(GLIBCXX_3.4.14) libstdc++.so.6(GLIBCXX_3.4.15) libstdc++.so.6(GLIBCXX_3.4.18) libstdc++.so.6(GLIBCXX_3.4.19) libstdc++.so.6(GLIBCXX_3.4.20) libstdc++.so.6(GLIBCXX_3.4.21) libstdc++.so.6(GLIBCXX_3.4.22) libstdc++.so.6(GLIBCXX_3.4.26) libstdc++.so.6(GLIBCXX_3.4.29) libstdc++.so.6(GLIBCXX_3.4.30) libstdc++.so.6(GLIBCXX_3.4.32) libstdc++.so.6(GLIBCXX_3.4.9) libstemmer.so.0 libtcmalloc.so.4 libyaml-cpp.so.0.7 libz.so.1 libz.so.1(ZLIB_1.2.0) rtld(GNU_HASH) Processing files: mongodb-test-4.0.3-4.fc38.i686 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-32) = 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.i686 Provides: mongodb-debugsource = 4.0.3-4.fc38 mongodb-debugsource(x86-32) = 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.i686 Provides: debuginfo(build-id) = 6e68b6095bbdf30e088b265876868c26ab67030a debuginfo(build-id) = b2cec2b694070f014886949a5b3263dafe394f52 mongodb-debuginfo = 4.0.3-4.fc38 mongodb-debuginfo(x86-32) = 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-32) = 4.0.3-4.fc38 Processing files: mongodb-server-debuginfo-4.0.3-4.fc38.i686 Provides: debuginfo(build-id) = 61c15bf7e3fc897660627e44a32615bf5144825a debuginfo(build-id) = 8ad264ad47daff5bf6eba0930ca00a0faf386265 mongodb-server-debuginfo = 4.0.3-4.fc38 mongodb-server-debuginfo(x86-32) = 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-32) = 4.0.3-4.fc38 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386 Wrote: /builddir/build/RPMS/mongodb-debuginfo-4.0.3-4.fc38.i686.rpm Wrote: /builddir/build/RPMS/mongodb-debugsource-4.0.3-4.fc38.i686.rpm Wrote: /builddir/build/RPMS/mongodb-server-4.0.3-4.fc38.i686.rpm Wrote: /builddir/build/RPMS/mongodb-4.0.3-4.fc38.i686.rpm Wrote: /builddir/build/RPMS/mongodb-test-4.0.3-4.fc38.i686.rpm Wrote: /builddir/build/RPMS/mongodb-server-debuginfo-4.0.3-4.fc38.i686.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.9k8BGf + umask 022 + cd /builddir/build/BUILD + cd mongo-r4.0.3 + /usr/bin/rm -rf /builddir/build/BUILDROOT/mongodb-4.0.3-4.fc38.i386 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.OG9Dy6 + 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: %patchN is deprecated (6 usages found), use %patch N (or %patch -P N) File listed twice: /usr/share/mongodb-test File listed twice: /usr/share/mongodb-test/var Finish: rpmbuild mongodb-4.0.3-4.fc38.src.rpm Finish: build phase for mongodb-4.0.3-4.fc38.src.rpm INFO: chroot_scan: 3 files copied to /var/lib/copr-rpmbuild/results/chroot_scan INFO: /var/lib/mock/fedora-38-i686-1695774146.879950/root/var/log/dnf.rpm.log /var/lib/mock/fedora-38-i686-1695774146.879950/root/var/log/dnf.librepo.log /var/lib/mock/fedora-38-i686-1695774146.879950/root/var/log/dnf.log INFO: Done(/var/lib/copr-rpmbuild/results/mongodb-4.0.3-4.fc38.src.rpm) Config(child) 83 minutes 45 seconds INFO: Results and/or logs in: /var/lib/copr-rpmbuild/results INFO: Cleaning up build root ('cleanup_on_success=True') Start: clean chroot INFO: unmounting tmpfs. Finish: clean chroot Finish: run Running RPMResults tool Package info: { "packages": [ { "name": "mongodb-debuginfo", "epoch": null, "version": "4.0.3", "release": "4.fc38", "arch": "i686" }, { "name": "mongodb", "epoch": null, "version": "4.0.3", "release": "4.fc38", "arch": "src" }, { "name": "mongodb-test", "epoch": null, "version": "4.0.3", "release": "4.fc38", "arch": "i686" }, { "name": "mongodb-server", "epoch": null, "version": "4.0.3", "release": "4.fc38", "arch": "i686" }, { "name": "mongodb", "epoch": null, "version": "4.0.3", "release": "4.fc38", "arch": "i686" }, { "name": "mongodb-server-debuginfo", "epoch": null, "version": "4.0.3", "release": "4.fc38", "arch": "i686" }, { "name": "mongodb-debugsource", "epoch": null, "version": "4.0.3", "release": "4.fc38", "arch": "i686" } ] } RPMResults finished